On Wednesday, February 17, 2010, Amritayan Nayak <amri...@gmail.com> wrote:
> Hi,
>
> I want to show the number of features within a cluster on the clustered 
> marker that replaces the individual points. This functionality is supported 
> by the marker manager provided with Google API. Is there a way of doing it in 
> Openlayers ?

cluster features have an attribute named "count", so defining a style
with label:"${count}" should do what you want. You can start from the
strategy-cluster example, and add the aboe style property.

Cheers,

Cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to