Move Options to ol/format/WKT
This commit is contained in:
@@ -17,6 +17,13 @@ import Polygon from '../geom/Polygon.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
|
||||
* @type {string}
|
||||
@@ -526,7 +533,7 @@ Parser.prototype.formatErrorMessage_ = function() {
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.format.TextFeature}
|
||||
* @param {olx.format.WKTOptions=} opt_options Options.
|
||||
* @param {module:ol/format/WKT~Options=} opt_options Options.
|
||||
* @api
|
||||
*/
|
||||
const WKT = function(opt_options) {
|
||||
|
||||
Reference in New Issue
Block a user