On Jul 20, 9:08 am, "[email protected]" <[email protected]> wrote: > On Jul 20, 8:21 am, Nico <[email protected]> wrote: > > > Ok .. I tried a few things and it seems that I don't quite understand > > the context of asynchronous here... > > > I noticed that the reversegeocoding only works when I insert the index > > of my for-loop into alert. So I thought that I basically have to spend > > as much time as getting the index and made some kind of wait-function > > and delayed the program for up to 1 second and at the same point as > > the alert-function, but it didn't work. You might call this attempt > > stupid, but I don't know what else to do. > > > I'm really trying hard to understand what's going on and how to find > > some kind of solution, but I just can't do it on my own. > > See if this does what you want and makes sense to you: http://www.geocodezip.com/poirecognition_kilu_de_geolocation2a.html
A couple of other points: 1. This approach will only work for up to ~ 10 markers (depending on the current rate limit and quota on the service) 2. This is not the "right" way to do it. You should reverse geocode the points when you capture them and store them in your database, rather than doing it every time your map loads (unless they will be different every time your map loads). -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
