[OpenLayers-Users] remove/destroy oldest point on a layer.

Nicholas Efremov-Kendall n.e.kendall at gmail.com
Fri Jul 8 14:37:42 EDT 2011


Hi all,

possibly a repeat question, but I haven't found a solution yet. I'm pulling
in points dynamically, and I want to limit the number of point to an
arbitrary number. How can I destroy or remove the oldest point on a vector
layer when the threshold number is reached? Ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110708/47ba8acd/attachment.html


More information about the Users mailing list