Hi everyone, I have a map where I drop a number of markers. I need to save the location of the markers to a database, along with the city and country that the marker was placed in. I keep track of all the markers in an array, hence, when I need to save all the markers to the database through an AJAX call, I iterate through the array, and establish a reverse geocoding request to get the city and country of each marker. The issue is that because geocoding requests are an AJAX call, the city/country data that is sent to the backend is null, since it does not wait for the reverse geocoding request to be completed.
Any way I can do this synchronously? -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.