Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8256673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T01:56:04+00:00 2026-06-08T01:56:04+00:00

Someone knows how to translate a response from the Google Places Library into something

  • 0

Someone knows how to translate a response from the Google Places Library into something geoxml3 can understand and render?

Work so far:

This works well for me

var a = {
    location: new google.maps.LatLng(12, 13),
    radius: 1000
};
var places = new google.maps.places.PlacesService(map);
places.search(a,searchCallback);
...
(in searchCallback function)    
var m = new google.maps.Marker({map: map, position: place.LatLng});

but I also need to create markers on the fly so I need to use geoxml3. My problem is that replacing the last line with this

var m = parser.createMarker(place);

causes this error

Uncaught TypeError: Cannot read property 'icon' of undefined

Maybe because it cannot load the icon http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png because of its origin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T01:56:08+00:00Added an answer on June 8, 2026 at 1:56 am

    geoxml3 is a google maps API v3 kml parser. If you translate the response from the places API into kml, you could make that work, but I don’t know why you would do that. Perhaps you could explain why you want to use geoxml3, you don’t need it for the stated goal “to create markers on the fly”, as you can do that easily with the google maps API v3 without it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does someone knows how can I capture my computer screen to a video file?
I need the advice from someone who knows Java very well and the memory
Someone knows how to put an icon in a eVB 3 application, because i
Does someone knows the image-crop which correctly works with the 'dynamically changed in the
Does someone knows how to calculate the total hours between 2 times? For example
I find this question a little tricky. Maybe someone knows an approach to answer
I have a question about list views. I hope someone knows the solution, because
What's an efficient way for someone who knows PHP and Ruby on Rails to
JQuery is written in Javascript. As someone who knows a little of each, I
This is a very rudimentary question, but I am sure someone out there knows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.