[OpenLayers-Dev] OpenLayers.Strategy.Cluster and attributive
comparisons
Eric Lemoine
eric.lemoine at camptocamp.com
Thu Oct 7 03:14:52 EDT 2010
On Wed, Oct 6, 2010 at 2:11 PM, Marc Jansen <jansen at terrestris.de> wrote:
> Hi Eric,
>
> thanks for your feedback.
>
> Attached is an example that shows the usage and the benefits from the custom
> classes. I would be happy if this could be included in the OpenLayers
> examples.
This is really nice!
I modified your example a bit to make the extended classes rely on
their parents' shouldCluster method, this is to avoid code
duplication. I also renamed the files from cluster-strategy-extend.*
to strategy-cluster-extended.*, to be consistent with the other
cluster examples.
Tell me if these changes are fine by you.
Thank you Marc.
--
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.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Dev
mailing list