Add support for WFS 1.0.0 to ol.format.WFS#writeTransaction
- Add a version property to olx.format.WFSWriteTransactionOptions to set the WFS protocol version to use - Use the specified version to use the correct schema and version in the GML request - Use the version to select the proper GML serializer
This commit is contained in:
@@ -2285,7 +2285,8 @@ olx.format.WFSWriteGetFeatureOptions.prototype.resultType;
|
||||
* srsName: (string|undefined),
|
||||
* handle: (string|undefined),
|
||||
* nativeElements: Array.<Object>,
|
||||
* gmlOptions: (olx.format.GMLOptions|undefined)}}
|
||||
* gmlOptions: (olx.format.GMLOptions|undefined),
|
||||
* version: (string|undefined)}}
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions;
|
||||
|
||||
@@ -2347,6 +2348,15 @@ olx.format.WFSWriteTransactionOptions.prototype.nativeElements;
|
||||
olx.format.WFSWriteTransactionOptions.prototype.gmlOptions;
|
||||
|
||||
|
||||
/**
|
||||
* WFS version to use for the transaction. Can be either `1.0.0` or `1.1.0`.
|
||||
* Default is `1.1.0`.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.format.WFSWriteTransactionOptions.prototype.version;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{splitCollection: (boolean|undefined)}}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user