[OpenLayers-Users] Cluster-Strategy: how to uncluster?

Gerrit osm at 00l.de
Sat Sep 5 04:05:34 EDT 2009


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



More information about the Users mailing list