Move Options to ol/format/WKT
This commit is contained in:
@@ -5,21 +5,6 @@
|
|||||||
let olx;
|
let olx;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {{splitCollection: (boolean|undefined)}}
|
|
||||||
*/
|
|
||||||
olx.format.WKTOptions;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether to split GeometryCollections into
|
|
||||||
* multiple features on reading. Default is `false`.
|
|
||||||
* @type {boolean|undefined}
|
|
||||||
* @api
|
|
||||||
*/
|
|
||||||
olx.format.WKTOptions.prototype.splitCollection;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {{
|
* @typedef {{
|
||||||
* layers: (Array.<string>|undefined)
|
* layers: (Array.<string>|undefined)
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
|
|
||||||
/**
|
|
||||||
* @typedef {Object} format_WKTOptions
|
|
||||||
* @property {boolean|undefined} splitCollection Whether to split GeometryCollections into
|
|
||||||
* multiple features on reading. Default is `false`.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} format_WMSGetFeatureInfoOptions
|
* @typedef {Object} format_WMSGetFeatureInfoOptions
|
||||||
* @property {Array.<string>|undefined} layers If set, only features of the given layers will be returned by the format
|
* @property {Array.<string>|undefined} layers If set, only features of the given layers will be returned by the format
|
||||||
|
|||||||
@@ -17,6 +17,13 @@ import Polygon from '../geom/Polygon.js';
|
|||||||
import SimpleGeometry from '../geom/SimpleGeometry.js';
|
import SimpleGeometry from '../geom/SimpleGeometry.js';
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {Object} Options
|
||||||
|
* @property {boolean|undefined} splitCollection Whether to split GeometryCollections into
|
||||||
|
* multiple features on reading. Default is `false`.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @const
|
* @const
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -526,7 +533,7 @@ Parser.prototype.formatErrorMessage_ = function() {
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.format.TextFeature}
|
* @extends {ol.format.TextFeature}
|
||||||
* @param {olx.format.WKTOptions=} opt_options Options.
|
* @param {module:ol/format/WKT~Options=} opt_options Options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const WKT = function(opt_options) {
|
const WKT = function(opt_options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user