Hi, You appear to be mixing V2 and V3.
The MarkerCluster is written for Google Maps API V3 but you are using syntax like GMap2, GEvent, GMarker and GLatLng which are for V2. You should read the V3 introduction http://code.google.com/apis/maps/documentation/v3/introduction.html/ for more information on V3 and how to get started. Hope this helps. - Luke On Wed, Apr 28, 2010 at 12:36 PM, klpauba <[email protected]> wrote: > I'm trying to map 1-2 thousand markers using the v3 API (I think). I > had a simple application (based off a simple example provided with the > Google Maps API) that just plotted the markers but, as expected, it > takes quite some time to load. After googling a bit, I found out > about MarkerClusterer. > > Not knowing any better way, I just cut-n-pasted the MarkerClusterer V3 > code into mine, loaded the markers into an array and then create a > MarkerClusterer object using a map object and the array of markers. I > noticed that the location of the images in the code I copied didn't > point to the images included with the MC code so I changed the URL for > those. > > Unfortunately, nothing shows up on the map. > > Can someone give me some hints? > > > http://hosting.gmodules.com/ig/gadgets/file/107308515711797177460/rush2010.xml > > -- > 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.
