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
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to