Move Options to ol/format/WFS

This commit is contained in:
Tim Schaub
2018-03-11 22:23:47 -06:00
parent bb816de768
commit 4c78642ae2
3 changed files with 14 additions and 54 deletions
-42
View File
@@ -5,48 +5,6 @@
let olx;
/**
* @typedef {{featureNS: (Object.<string, string>|string|undefined),
* featureType: (Array.<string>|string|undefined),
* gmlFormat: (ol.format.GMLBase|undefined),
* schemaLocation: (string|undefined)}}
*/
olx.format.WFSOptions;
/**
* The namespace URI used for features.
* @type {Object.<string, string>|string|undefined}
* @api
*/
olx.format.WFSOptions.prototype.featureNS;
/**
* The feature type to parse. Only used for read operations.
* @type {Array.<string>|string|undefined}
* @api
*/
olx.format.WFSOptions.prototype.featureType;
/**
* The GML format to use to parse the response. Default is `ol.format.GML3`.
* @type {ol.format.GMLBase|undefined}
* @api
*/
olx.format.WFSOptions.prototype.gmlFormat;
/**
* Optional schemaLocation to use for serialization, this will override the
* default.
* @type {string|undefined}
* @api
*/
olx.format.WFSOptions.prototype.schemaLocation;
/**
* @typedef {{featureNS: string,
* featurePrefix: string,
-10
View File
@@ -1,14 +1,4 @@
/**
* @typedef {Object} format_WFSOptions
* @property {Object.<string, string>|string|undefined} featureNS The namespace URI used for features.
* @property {Array.<string>|string|undefined} featureType The feature type to parse. Only used for read operations.
* @property {ol.format.GMLBase|undefined} gmlFormat The GML format to use to parse the response. Default is `ol.format.GML3`.
* @property {string|undefined} schemaLocation Optional schemaLocation to use for serialization, this will override the
* default.
*/
/**
* @typedef {Object} format_WFSWriteGetFeatureOptions
* @property {string} featureNS The namespace URI used for features.