Looks like you're using the v3 port of MarkerClusterer. Use the v2 one:

http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/

BTW I couldn't see any Clusterer code on your sample page.

Chris

On Mon, Oct 18, 2010 at 5:29 PM, MT <[email protected]> wrote:

> Hi Everyone,
>
> I am having trouble implementing Marker Clusterer.  Using the latest
> library :
>
>
> http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/
>
> I am not sure how to place this code on my homepage :
>
> var markers = [];
>  for (var i = 0; i < 100; ++i) {
>    var latlng = new GLatLng(data.photos[i].latitude,
> data.photos[i].longitude);
>    var marker = new GMarker(latlng);
>    markers.push(marker);
>  }
> var markerCluster = new MarkerClusterer(map, markers);
>
> Please view my home page source and advise what the code should look
> like.  Thank you.
>
> http://savemytire.com/
>
> - Minh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to