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

View File

@@ -17,6 +17,19 @@ import {createElementNS, isDocument, isNode, makeArrayPusher, makeChildAppender,
pushParseAndPop, pushSerializeAndPop, setAttributeNS} from '../xml.js';
/**
* @typedef {Object} Options
* @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.
*/
/**
* @type {string}
*/
@@ -71,8 +84,7 @@ const DEFAULT_VERSION = '1.1.0';
* Also see {@link ol.format.GMLBase} which is used by this format.
*
* @constructor
* @param {olx.format.WFSOptions=} opt_options
* Optional configuration object.
* @param {module:ol/format/WFS~Options=} opt_options Optional configuration object.
* @extends {ol.format.XMLFeature}
* @api
*/