Multiple markers only 1 infowindow displays

29 views
Skip to first unread message

Matt

unread,
Oct 12, 2011, 10:50:10 PM10/12/11
to google-map...@googlegroups.com
Hello, I am trying to display a map with multiple markers and an infowindow for each marker. The markers display fine, however only one infowindow ever shows up, in the same spot, no matter which marker you click on. I am creating the infowindows in the same loop as the markers. I don't know a lot about javascript and am only using it for this project because the api requires it. Any help would be appreciated. Here is a link to my code: http://theskylab.net/geolocationExample2.html

geoco...@gmail.com

unread,
Oct 13, 2011, 12:28:32 AM10/13/11
to Google Maps JavaScript API v3
See pitfall #3 in Mike Williams' v2 tutorial, or almost any of these
results:
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=Pitfall+%233&qt_g=Search+this+group

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