Mike,

I am definitely not an expert at this, so you may be right that this won't
scale if you have thousands of markers being read in from your CMS.

I successfully used the MarkerClusterer on a much smaller dataset at
http://www.ignitespatial.com/NationalParks.html using the sample at
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htmas
a starting point.

This does what Rossko suggested by creating a listener on each marker, and
renders these markers using the MarkerClusterer.

Good luck,
Steve

On 9 June 2010 02:07, Mike <iammikestec...@gmail.com> wrote:

> I'm not sure how I would do this for each marker as they are fed in
> from a CMS and there are literally thousands being fed in.
>
> On Jun 7, 3:07 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> > >                                 google.maps.event.addListener(markers,
> 'click', function() {
> >
> > You can't add a click listener to a javascript array.  Or rather, you
> > can, but nothing ever triggers it because the user can't click an
> > array.
> >
> > Try adding listeners to each marker.  You'll probably want to explore
> > the concept of 'closure' to capture different content for each
> > infowindow.
> http://code.google.com/apis/maps/documentation/javascript/examples/ev...
>
> --
> 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.

Reply via email to