On Mar 18, 5:14 pm, Naveen <[email protected]> wrote: > Hi All, > > I'm having issues with the map. I clubbed 2 examples in google maps to > get this and now, I'm stuck, displaying the address using > 'openInfoWindowHtml', when i pass address 1, it always shows one > country in all the popups. Can you guys help. > > http://letzlist.com/map.html
Have you seen Mike Williams' tutorial? Part 1 Markers with info windows http://econym.org.uk/gmap/basic1.htm You are running into Pitfall #3 (you are using a create marker function, but you aren't getting function closure on the address passed to the geocoder callback function. You also should review this page: Part 17 Geocoding multiple addresses http://econym.org.uk/gmap/geomulti.htm You really don't need to use the geocoder, the countries won't move. Geocode them offline and store the coordinates in your xml file. -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
