<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>first i do this:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>function
_createFeatures(records)<BR>
{<BR>
var features =
[];<BR>
var wktFormat = new
OpenLayers.Format.WKT({<BR>
externalProjection:
_map.displayProjection,<BR>
internalProjection:
_map.projection<BR>
});<BR>
Ext.each(records,
function(record){<BR>
var feature =
wktFormat.read(record.get('featureGeom'));<BR>
feature.id =
record.get('featureId');<BR>
features.push(feature);<BR>
});<BR>
_featureLayer.addFeatures(features);<BR>
}<BR>and it works great.</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>later i do this:</DIV>
<DIV> </DIV>
<DIV>_featureLayer.removeFeatures(_featureLayer.features);</DIV>
<DIV> </DIV>
<DIV>and my feature clusters disappear as expected...until i change my zoom
level, then they all come back.<BR>how do i kill the clusters once and for all!
</FONT></DIV></BODY></HTML>