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

Eric Lemoine eric.lemoine at camptocamp.com
Thu Oct 7 03:17:32 EDT 2010


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

Argh I'm sorry, the .js file didn't get attached. Retrying. Hope this
is fine this time.


-- 
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/10bb4233/strategy-cluster-extended-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strategy-cluster-extended.js
Type: application/x-javascript
Size: 8042 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101007/10bb4233/strategy-cluster-extended-0001.js


More information about the Dev mailing list