Sorry - I don't think anyone here's going to modify your code for you :) I would definitely recommend using v3 over v2, however the code you wrote was v2 (using GMarker, GMap etc) so I pointed you towards the v2 library.
If you want to use v3, read on: There are some examples on the how-to page of MarkerClusterer: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/examples.html and check out the docs: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/reference.html Cheers Chris On Mon, Oct 18, 2010 at 11:31 PM, MT <sharpw...@gmail.com> wrote: > 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 <c...@google.com> 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 <sharpw...@gmail.com> 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 > > > google-maps-js-api...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com><google-maps-js-api-v3%2B > unsubscr...@googlegroups.com> > > > . > > > 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 > google-maps-js-api...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com> > . > 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.