I'm looping through an XML file, geocoding lat/lng and displaying in a
div, however, the addresses are returned so fast the order in which
they are displayed varies. Seems okay in Firefox, however, Android and
Chrome are shuffling the order of the resulting addresses.

var geocoder = "";
geocoder = new google.maps.Geocoder();
if (geocoder) {
    geocoder.geocode({'latLng': latlng}, function(results, status) {
    var address=  results[0].formatted_address;

     var stoplink = document.createElement("stoplink");
     stoplink.innerHTML = address;
     ocationList.appendChild(stoplink);

});
}


<div id="locationList"></div>

-- 
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.

Reply via email to