Hello Rossko,

Tried to move the array but no luck.
Getting a lot of strange js errors of parts that are otherwise fine.

Would like to know where the point is where the markers are created.
Set the "markers array"globel.
But getting error on "markers.pusch(marker)" is not a function.

Don't seem to get the logic of the Sequens.

with regards,

Erwin

On 6 dec, 02:10, Rossko <[email protected]> wrote:
> > As i see it markerclusterer shows my icons but does not cluster.
>
> This line in your createMarker function -
>     var markerCluster = new MarkerClusterer(map, markers);
> creates a new clusterer every time you create a marker, and adds just
> one marker to each one.
>
> Set just one clusterer up outside of your marker creating loop, and
> populate it with your array after all the marker creation has finished
> i.e. at the end of your GDownloadUrl routine.

--

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