var marker = new GMarker(point, { icon: iconSet[data[i][1]] });

Geocoding is asynchronous. Value of var i is not what you expect when
the callback function executes. You should increment i and trigger
next request by the callback function.

I don't see why are you using client side geocoding for static
addresses. Generally it is recommended to geocode your addresses in
advance and use those coordinates. Page loading is much faster.
--~--~---------~--~----~------------~-------~--~----~
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