Move WriteTransactionOptions to ol/format/WFS
This commit is contained in:
@@ -55,6 +55,24 @@ import {createElementNS, isDocument, isNode, makeArrayPusher, makeChildAppender,
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} WriteTransactionOptions
|
||||
* @property {string} featureNS The namespace URI used for features.
|
||||
* @property {string} featurePrefix The prefix for the feature namespace.
|
||||
* @property {string} featureType The feature type name.
|
||||
* @property {string|undefined} srsName SRS name. No srsName attribute will be set on
|
||||
* geometries when this is not provided.
|
||||
* @property {string|undefined} handle Handle.
|
||||
* @property {boolean|undefined} hasZ Must be set to true if the transaction is for
|
||||
* a 3D layer. This will allow the Z coordinate to be included in the transaction.
|
||||
* @property {Array.<Object>} nativeElements Native elements. Currently not supported.
|
||||
* @property {module:ol/format/GMLBase~Options|undefined} gmlOptions GML options for
|
||||
* the WFS transaction writer.
|
||||
* @property {string|undefined} version WFS version to use for the transaction. Can be
|
||||
* either `1.0.0` or `1.1.0`. Default is `1.1.0`.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
@@ -982,7 +1000,7 @@ WFS.prototype.writeGetFeature = function(options) {
|
||||
* @param {Array.<ol.Feature>} inserts The features to insert.
|
||||
* @param {Array.<ol.Feature>} updates The features to update.
|
||||
* @param {Array.<ol.Feature>} deletes The features to delete.
|
||||
* @param {olx.format.WFSWriteTransactionOptions} options Write options.
|
||||
* @param {module:ol/format/WFS~WriteTransactionOptions} options Write options.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user