Hi all,

I've been playing with a script that dynamically adds features to a vector
layer. I'd like to limit this to 100 or less features. How would I go about
implementing this? clearly it should start something like

if (features.length > 100){
//code to remove oldest feature
}

any suggestion?
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to