Directions in Infowindow not lat/lng

36 views
Skip to first unread message

Jim O

unread,
Nov 19, 2011, 2:10:37 AM11/19/11
to google-map...@googlegroups.com
When I make a KML file and then point Google Maps to it, like:


...and the user clicks a marker, Maps adds a "Directions" link. However, when the user clicks this link, the "A" and "B" boxes appear with one of the boxes filled in with lat/lng, like "@49.276585,-123.088889". Is there any way to make that box say, "737 Prior Street", which is the address of this lat/lng? It would be great if you could instruct the Directions link to use some data element in the underlying KML file, which I would populate with the address of the marker.

Thanks

Rossko

unread,
Nov 19, 2011, 6:47:14 AM11/19/11
to Google Maps JavaScript API v3
> When I make a KML file and then point Google Maps to it, like:

For questions about maps.google.com, use
http://groups.google.com/group/Google-Maps

> Is there
> any way to make that box say, "737 Prior Street",

There are ways to do it with the Maps API on your own webpages, but
you may not want to go to that much trouble

mikbak

unread,
Nov 20, 2011, 2:14:15 AM11/20/11
to Google Maps JavaScript API v3
That freaked me out, where is the kml file held for the display
data...it appears to show all my recent Google lookup stuff as well as
my listings on Everytrail...

How do you do that...???

Mike

Reply all
Reply to author
Forward
0 new messages