Thanks, I see the v2 reference in my iframe but wasn't even aware that
I was referencing the v3 API, can you tell me how you saw this?

With reference to my GDownloads, I thought I was setting up the Marker
cluster after my GDownloads where I populate my marker array as
follows:

GDownloadUrl("genxmli.php", function(data, responseCode) {
  ...some code to create markers
  MGroup.push(markers);
  ...some code
}

GDownloadUrl("genxmli.php", function(data, responseCode) {
  ...some code to create markers
  MGroup.push(markers);
  ...some code
}

markerClusterer = new MarkerClusterer(map, MGroup, {gridSize: 55,
maxZoom: 12});

Is my marker array not yet populated and if not where should I move my
markerclusterer create to?

Tassie

On Nov 26, 9:12 pm, Rossko <[email protected]> wrote:
> > --- Site url 
> > :http://196.220.33.53/index.php?option=com_wrapper&view=wrapper&Itemid=18
>
> You're loading maps API v3 on your main page and v2 in your iframe.
> It's probably best to use only one.
>
> In your actual map pagehttp://196.220.33.53/gmap/gmap.htm
> the logic is flawed.
> You call several GDownloadUrls, each of which will add markers to an
> array MGroup.
> You then call MarkerManager for MGroup[].  However, at this time MGroup
> [] is still empty.
>
> GDownloadUrl is asynchronous, and the data will be returned some time
> after the MarkerManager call, but it's too late by then.
>
> You need to set up MM after your XML parsing has been completed.

--

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