I use a clusterStrategy by default, but I have a button that lets the
user toggle it off.
Is there a way to refresh the layer so that it can redraw with/without
clusters?

I've tried:
[JS]
if(pressed){
        clusterStrategy.activate();     
}
else{
        clusterStrategy.deactivate();
}
clusterStrategy.clearCache();
vectorLayer.redraw();
[/JS]

But that was not helpful.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to