Saturday, 17 August 2013

How to add a unique identifier or number to a google.maps.Geocode request (Google Maps API v3)

How to add a unique identifier or number to a google.maps.Geocode request
(Google Maps API v3)

I want to be able to determine when the final request from my array of
addresses has been processed so I can alert the user. Is there a way to
determine when the request from the last address in an array has been
processed? Can you attach an identifier to a request such that when it
returns a call back function can see it and let the user know?
Otherwise the user is going to be sitting there waiting for markers that
don't exist to appear. I've dealt with most of the issues arising from the
asynchronous nature of the technology, but this one has me a little
stumped and i haven't seen anything with the documentation.

No comments:

Post a Comment