On Wednesday, February 17, 2010, Amritayan Nayak <[email protected]> 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 : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users