kml layer info windows behaviour

76 views
Skip to first unread message

Paulweb

unread,
Mar 9, 2012, 9:39:45 AM3/9/12
to google-map...@googlegroups.com
Hi

I've a kml file with lots of markers and polylines. If you display it using maps.google.com, and you click on a marker or polylines which are close together, then the info window includes a bit which says 'x of x nearby results' so you so cycle through all the info windows.

When displayed using the API v3, and you click on a marker or polylines which are close together, you get only the infowindow last polyline or marker added. 

Is there any way to get the API display of a kml file to work the same way as the maps.google.com site?

Many thanks in advance for your help
Paul

geoco...@gmail.com

unread,
Mar 9, 2012, 10:00:28 AM3/9/12
to Google Maps JavaScript API v3
Write code to do that. Probably need to use a third party kml parser
or FusionTables layer.

-- Larry
Reply all
Reply to author
Forward
0 new messages