[OpenLayers-Users] Cannot delete MultiPolygons completely

Tobias Reinicke ramotswa at gmail.com
Tue Sep 25 01:01:35 PDT 2012


So not 100% sure what you're trying to do - but if you are reading from a
wfs source (geoserver?) and want to do updates to the data there (wfst),
then you need to put in a save strategy to get rid of them off your source.

This works for me:

[code]
 var currentFeature = vecLayer.selectedFeatures;
    currentFeature[0].state = OpenLayers.State.DELETE;
    saveStrategy.save();
[/code]

Does that help?

Toby


On 25 September 2012 08:51, vGIS <valentino1s73s at gmx.net> wrote:

> Lookes like the removed Features are "Temporary Features". So, how do I
> completely remove temporary features?
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Cannot-delete-MultiPolygons-completely-tp5004085p5004197.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120925/5efb0b94/attachment.html>


More information about the Users mailing list