Thanks David

The reason I want to do this is I have a div next to the map in which
I want to display some details for individual markers. The scenario
is....

1. they open the map fully zoomed out - it shows no individual markers
and several clusters.

2. they click a cluster, the map zooms in and the cluster splits into
several individual markers and maybe some smaller clusters - at this
point I wish to loop through the markers that are within the map
bounds (I know how to do this and can identify the markers that are
within bounds but have no way of distinguishing those that are
individual and those that are still hidden in the smaller clusters) -
what I want if I can identify the markers that are individual is to
then add some info about them (and only them - not the ones still
clustered) to the div next to the map.

Hope that makes sense. I would love to post a link to the site but
cannot at present due it all being 'top secret'  :)

Thanks again for any help.



On Jul 12, 10:28 am, DiTieM <[email protected]> wrote:
> > var mc = new MarkerClusterer(map, markers, mcOptions);
>
> Ok, that is 3rd party. I had a quick look at the source code of
> MarkerClusterer
> and I did not find a way to do what you are looking for. MarkerCluster only
> send you the click event of markers. Not sure why you want to know the
> markers that appear with respect the last zoom. If you want to provide a
> more general idea maybe we can help you a bit more.
>
> The other hard way, is to make MarkerClusterer by yourself, but you really
> need to be into google maps, js, projections... I will not recommend it
> unless
> you are very brave :)
>
> Regards,
>   David

-- 
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