Here is a link to a page I am building: http://www.idea-machine.net/devel/apts/maps.php
I am pulling addresses from a database, geocoding them, adding markers to a map, and then adding info windows to the markers that open when the markers are clicked. My problem is that each of the markers contain the same text, even though I reset the text before adding a new marker to the map. The weird part is that I set the address variable, which is used by the geocoder, at the same time I set the variables for the info window text. The markers are all placed in the correct positions, which means I am getting the value I expect out of the address variable. But I am not getting the value I expect out of the variables for the info window text. BTW, the reason my load function keeps resetting the address and info window text variables is because I am using a php loop to write the javascript. Maybe there is a better way to do this, but that is all I could think of. Thanks in advance for your help, Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
