[OpenLayers-Dev] OpenLayers.Strategy.Cluster and attributive comparisons

Eric Lemoine eric.lemoine at camptocamp.com
Thu Oct 7 03:15:36 EDT 2010


On Thu, Oct 7, 2010 at 9:14 AM, Eric Lemoine
<eric.lemoine at camptocamp.com> wrote:
> 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.

The files are attached.

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101007/ff25c558/strategy-cluster-extended.html


More information about the Dev mailing list