Take a look at the threshold property: http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Strategy/Cluster-js.html#OpenLayers.Strategy.Cluster.threshold I think its what your looking for.
also i recommend taking a look at the src for the cluster strategy, it'll give you alot on insight into what is actually happening. clusterStrategy.features holds your original features, armed with that knowledge it's then pretty easy to implement a toggle to flip in and old of cluster mode. -----Original Message----- From: [email protected] on behalf of Gerrit Sent: Sat 9/5/2009 4:05 AM To: [email protected] Subject: [OpenLayers-Users] Cluster-Strategy: how to uncluster? Hi. I have a couple of point-features on a map and defined a cluster strategy on the vectorlayer. When I reach the highest zoom level, some points are still clustered due to proximity. On the highest level however I do not want any clustering at all. How can I achieve this? I tried clusterStrategy.deactivate(), but for it to take effect, I need to remove all features from the layer and repopulate it. I tried map.frefresh() and clusterlayer.redraw(), but to no effect. Any suggestions? Thanks, Gerrit _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
