Sorry but I'm working in the snippet right now. I stopped using geocoder and get lat/lng server side but I still have the scope issue. I solved it by expanding marker object like that:
marker.ciudad = prevs[i].ciudad; and refering this.ciudad at click event, but i dont feel in peace with myself doing it so... Rodrigo Díez Villamuera 2009/6/8 Rossko <[email protected]> > > > If you take a look at the map you can check getLatLng is working. My > problem > > is I loose the right object in an array iteration loop > > No use of geocoder in that map at present, so I'm not sure what the > snippet was about. > > All markers have same infowindow. See - > http://econym.org.uk/gmap/basic1.htm > pitfall number 3 > > cheers, Ross K > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
