On Friday, December 30, 2011, Diego Guidi <[email protected]> wrote:
> assuming the code you posted is ok, try with
> vectors.removeFeatures([end]);

You can also destroy the feature with end.destroy(). This will remove it
from the layer. Note that a destroyed feature cannot be readded to a layer.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to