Hi, I'm new to this group, and to Google Maps APIs and Google groups in general. Hope this is the right place to look for help with an issue I'm having. I'm trying to place markers with associated info windows on a map using xml and xslt, looping over the marker and info window creation using <xsl:for-each>. The markers get placed and labelled correctly, but when the user clicks on any of the markers, the info window that comes up is always in the location (and with the content) of the last xml entry.
I've posted very simplified versions of the xml and xsl files here: http://whimsy.fastmail.fm/test/test.xml http://whimsy.fastmail.fm/test/test.xsl As you can see if you visit the xml link, markers for Montreal, Toronto and Vancouver get placed appropriately, and if you hover on them, they say the right city name, but if you click on them, the info window that pops up is for Vancouver (which is the last of the three cities in the xml file). Any suggestions of what I'm doing wrong and how to correct it would be greatly appreciated. Thanks for your time! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.