add ability to write out a WFS Transaction without a geometry, r=tschaub (closes #2033)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10033 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -226,9 +226,11 @@ OpenLayers.Format.WFST.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
}
|
||||
|
||||
// add in geometry
|
||||
this.writeNode(
|
||||
"Property", {name: this.geometryName, value: feature}, node
|
||||
);
|
||||
if (this.geometryName !== null) {
|
||||
this.writeNode(
|
||||
"Property", {name: this.geometryName, value: feature}, node
|
||||
);
|
||||
}
|
||||
|
||||
// add in attributes
|
||||
for(var key in feature.attributes) {
|
||||
|
||||
Reference in New Issue
Block a user