<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7655.4">
<TITLE>RE: [OpenLayers-Users] Cluster-Strategy: how to uncluster?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Take a look at the threshold property:<BR>
<A HREF="http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Strategy/Cluster-js.html#OpenLayers.Strategy.Cluster.threshold">http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Strategy/Cluster-js.html#OpenLayers.Strategy.Cluster.threshold</A><BR>
I think its what your looking for.<BR>
<BR>
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.<BR>
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.<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: users-bounces@openlayers.org on behalf of Gerrit<BR>
Sent: Sat 9/5/2009 4:05 AM<BR>
To: users@openlayers.org<BR>
Subject: [OpenLayers-Users] Cluster-Strategy: how to uncluster?<BR>
<BR>
Hi.<BR>
<BR>
I have a couple of point-features on a map and defined a cluster<BR>
strategy on the vectorlayer.<BR>
When I reach the highest zoom level, some points are still clustered due<BR>
to proximity.<BR>
On the highest level however I do not want any clustering at all.<BR>
How can I achieve this?<BR>
<BR>
I tried clusterStrategy.deactivate(), but for it to take effect, I need<BR>
to remove all features from the layer and repopulate it.<BR>
I tried map.frefresh() and clusterlayer.redraw(), but to no effect.<BR>
<BR>
Any suggestions?<BR>
<BR>
Thanks,<BR>
<BR>
Gerrit<BR>
_______________________________________________<BR>
Users mailing list<BR>
Users@openlayers.org<BR>
<A HREF="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>