On Mar 1, 1:07 pm, Dries <[email protected]> wrote:
> Hi Guys,
>
> I've been working on a map since a few days now and I got stuck on
> something small (i think). I fetch all addresses from a XML and
> getLatLng from the geocoder as I walk through the XML data. Everything
> works well except putting the icons on the map.
>
> Data reading in just works fine but for some reason i can't fill up my
> array to pass it on to the MarkerClusterer. Anyone has an idea? I'm
> nog seeying this one.
>
> Thanks for the help.
>
> link:http://www.mrmau.be/referenties.htm
> Code is in the page

You have 2 things on that page called "markers" the xml element array
returned by the parsing of the xml and the array that you push the
GMarkers into.

Note: you really don't want to geocode known addresses every time the
page is loaded.  Geocode them once offline and put the latitude and
longitude in the xml along with the address.

This explanation from Mike Williams' tutorial may help:
Part 17 Geocoding multiple addresses
http://econym.org.uk/gmap/geomulti.htm

  -- Larry

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