ynamite
ynamite

Reputation: 137

Google Maps v3 custom map marker icon but with infowindow content from google

I've been wondering about this for some time:

Is it possible to let a custom marker for a place on a google map display an infowindow with the same information that the infowindows on maps.google.com display when clicking on a place, without having to generate the HTML for the content yourself (using the places library)? I hope you know what I mean. Please let me know if I'm being unclear.

It would be great if one could pull the information straight from google instead of having to do it manually. I mean, why do something that's already there, right? ;)

Thanks for sharing your thoughts!

edit: I've tried rephrasing my question to make it clearer. I've removed the example code because it was just adding to the confusion. Sorry, English isn't my first language ...

Upvotes: 2

Views: 825

Answers (1)

Erik Philips
Erik Philips

Reputation: 54638

There is currently no API call from Google that will provide the default InfoWindow content for a Lat/Long location.

The only thing google currently provides is some Reverse Geocoding Infomation.

Upvotes: 1

Related Questions