<!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><SPAN class=798504317-01042009>i use this 
layer:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=798504317-01042009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2>_clusterStrategy = new 
OpenLayers.Strategy.Cluster({distance:20})<BR>&nbsp;&nbsp;_featureLayer = new 
OpenLayers.Layer.Vector(" Features of 
Interest",{<BR>&nbsp;&nbsp;&nbsp;projection: 
_map.projection,<BR>&nbsp;&nbsp;&nbsp;styleMap: 
featureStyles,<BR>&nbsp;&nbsp;&nbsp;strategies: 
[_clusterStrategy]<BR>&nbsp;&nbsp;});</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>and i have a store 
that pulls from the server and then adds the records to the layer above with 
this function:</FONT></SPAN></DIV><SPAN class=798504317-01042009><FONT 
face=Arial size=2></FONT></SPAN>
<DIV><BR><FONT face=Arial color=#0000ff size=2>function _createFeatures(records, 
animate)<BR>&nbsp;{&nbsp;<BR>&nbsp;&nbsp;var features = [];<BR>&nbsp;&nbsp;var 
wktFormat = new OpenLayers.Format.WKT({<BR>&nbsp;&nbsp;&nbsp;externalProjection: 
_map.displayProjection,<BR>&nbsp;&nbsp;&nbsp;internalProjection: 
_map.projection<BR>&nbsp;&nbsp;});<BR>&nbsp;&nbsp;Ext.each(records, 
function(record){<BR>&nbsp;&nbsp;&nbsp;var feature = 
wktFormat.read(record.get('featureGeom'));<BR>&nbsp;&nbsp;&nbsp;feature.id = 
record.get('featureId');<BR>&nbsp;&nbsp;&nbsp;features.push(feature);<BR>&nbsp;&nbsp;});<BR>&nbsp;&nbsp;_featureLayer.addFeatures(features);<BR>&nbsp;}</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>this works great the 
first time i get records, but i have an interval running that polls my 
server</FONT></SPAN></DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>for new stuff and 
then i call the function above to add those to the map as 
well.</FONT></SPAN></DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>the issue is that it 
seems to be impossible to add new features to a clustered layer after the 
initial load.</FONT></SPAN></DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>I need a way to add 
features to a vector layer using a clustering strategy that doesnt make all my 
previous clustered features vanish.</FONT></SPAN></DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>I would even 
understand it if it didnt visibly recalulate the clusters untill i changed my 
zoom lvl,</FONT></SPAN></DIV>
<DIV><SPAN class=798504317-01042009><FONT face=Arial size=2>but it definitly 
shouldnt make everything disaper when i add new 
features.</FONT></SPAN></DIV></BODY></HTML>