Hi all,<div><br></div><div>I&#39;ve been playing with a script that dynamically adds features to a vector layer. I&#39;d like to limit this to 100 or less features. How would I go about implementing this? clearly it should start something like</div>
<div><br></div><div>if (features.length &gt; 100){</div><div>//code to remove oldest feature </div><div>}</div><div><br></div><div>any suggestion?</div>