Move Options to ol/format/WKT

This commit is contained in:
Tim Schaub
2018-03-11 22:29:36 -06:00
parent 55e257d6fb
commit 7d52a9b8c4
3 changed files with 8 additions and 23 deletions

View File

@@ -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) {