On Sep 5, 3:15 pm, dz <[EMAIL PROTECTED]> wrote:
> I am using the following function to geocode multiple addressees. The
> addresses and address IDs are parsed and stored in arrays. All are
> fine until the callback function is activated. I need to access the
> address ID in the callback. However, since this is async call, the
> looping is done by the time the callback is activated. Thus I always
> get the last address and ID in the arrays. All the samples I found
> pass latitudes and longitudes instead of addresses. Does anyone know
> how to do this so that after each marker is added, the HTML in the
> click event will have the correct address and ID? Thank you.
>
Have you seen the posting guidelines?
Have you seen this page in Mike Williams' tutorial:
Part 17 Geocoding multiple addresses
http://econym.googlepages.com/geomulti.htm
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---