I think you can have multiple markerclusters on one map.

So each one clusters a different type of marker.

The only issue, is that the cluster markers may end up overlapping (or
even being exactly on top of each other) - the two clusterers wont be
aware of each other to avoid placing markers on top of each other.

On Sun, Apr 1, 2012 at 12:40 AM, Adrian Latorre Crespo
<[email protected]> wrote:
> I would like to know if it is possible to cluster markers on Google Maps API
> v3 not only by density or number, but also by type.
>
> For example: I have 20 markers of type A and 50 of type B. Could I have a
> two different clusters, one grouping all the type A markers and another one
> with type B markers. Obviously with different icons.
>
> Another possible solution would be a single cluster that its icon would
> change depending of the number of markers of type.
>
> For example: if we have 20 markers type A and 50 type B, the cluster would
> be a B-Type image.
>
> Any of this options can be possible?
>
> Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/pi39Z7Eq_yAJ.
> 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.

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