I'm using wfs-t in OpenLayers-3.6 according to here. I modify a feature and then send a wfs request as follow:
var properties = modifiedFeature.getProperties();delete properties.boundedBy;newFeature = new ol.Feature(properties);newFeature.setId(features.getId());var node = wfs.writeTransaction(null, [newFeature], null, { featureType: "Calk
oint", //geoserver Layer Name featureNS: "http://itsme.calk.ir", // Edit Workspace Namespace URI srsName: "EPSG:4326"});var s = new XMLSerializer();var url = "http://localhost:8084/geoserver/wfs";Ext.Ajax.request({ url: 'proxy.cgi?url=' + encodeURIComponent(url), method: 'POST', xmlData: s.serializeToString(node), headers: { 'Content-Type': 'text/xml' }, success: function(response_) { response = response_; }});The default version that OpenLayers works is "1.1.0", I want to work with version "2.0.0". How can I set version?
أكثر...
var properties = modifiedFeature.getProperties();delete properties.boundedBy;newFeature = new ol.Feature(properties);newFeature.setId(features.getId());var node = wfs.writeTransaction(null, [newFeature], null, { featureType: "Calk
أكثر...