Monday, 20 May 2019

geoserver - Using WFS-T in OpenLayers?


How can I use WFS-T in openlayers-2?


I'm using geoserver in server side.



Answer



Define a save strategy as follow and add it to you map:


var saveStrategy = new OpenLayers.Strategy.Save();


Modify the features and then call:


saveStratefy.save();

No comments:

Post a Comment