Hi Chris, Thanks for your response. I did not post any of the marker clusterer code b/c I did not know where to place it in the HTML. I was wondering if someone could modifiy my homepage HTML source code so that I could see how those 3 marker points would look with Marker Clusterer and also understand the coding for MC better. Would appreciate your help greatly.
Also, why use V2 instead of V3? - Minh On Oct 18, 3:16 am, Chris Broadfoot <[email protected]> wrote: > 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/marker... > > > 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%2B > > [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.
