Hey Paul,

the discussion here might help you decide:

http://trac.osgeo.org/openlayers/ticket/1974

tschaub suggested making this an option back then.

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Feb 17, 2011, at 2:21 PM, Paul Spencer wrote:

> Hi devs,
> 
> in helping Mihai on the users list, we discovered that deactivating the 
> cluster strategy does not restore the original features - rather it just 
> stops further clustering.  Additionally, there does not seem to be anything 
> in the code to decluster features once they are clustered by the strategy.  
> I'd like to file a ticket and a patch for this but I am not sure what the 
> correct behaviour *should* be.  The code I gave Mihai to solve his problem 
> replaced the deactivate function with one that also declusters the clustered 
> features.  Does anyone have an opinion on this approach?  I'm wondering if 
> this should be a separate method on the cluster strategy to be called 
> manually, or perhaps there should be an option to declusterOnDeactivate?
> 
> Point me in the right direction and I will take care of the ticket, patch and 
> tests ...
> 
> Cheers
> 
> Paul
> 
> __________________________________________
> 
>   Paul Spencer
>   Chief Technology Officer
>   DM Solutions Group Inc
>   http://research.dmsolutions.ca/
> 
> _______________________________________________
> Dev mailing list
> d...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev

_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to