Module type for ol.format.GMLBase
This commit is contained in:
@@ -12,7 +12,7 @@ import GML3 from '../format/GML3.js';
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @param {module:ol/format/GMLBase~Options=} opt_options
|
* @param {module:ol/format/GMLBase~Options=} opt_options
|
||||||
* Optional configuration object.
|
* Optional configuration object.
|
||||||
* @extends {ol.format.GMLBase}
|
* @extends {module:ol/format/GMLBase~GMLBase}
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const GML = GML3;
|
const GML = GML3;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ const schemaLocation = GMLNS + ' http://schemas.opengis.net/gml/2.1.2/feature.xs
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param {module:ol/format/GMLBase~Options=} opt_options Optional configuration object.
|
* @param {module:ol/format/GMLBase~Options=} opt_options Optional configuration object.
|
||||||
* @extends {ol.format.GMLBase}
|
* @extends {module:ol/format/GMLBase~GMLBase}
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const GML2 = function(opt_options) {
|
const GML2 = function(opt_options) {
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ const schemaLocation = GMLNS +
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @param {module:ol/format/GMLBase~Options=} opt_options
|
* @param {module:ol/format/GMLBase~Options=} opt_options
|
||||||
* Optional configuration object.
|
* Optional configuration object.
|
||||||
* @extends {ol.format.GMLBase}
|
* @extends {module:ol/format/GMLBase~GMLBase}
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const GML3 = function(opt_options) {
|
const GML3 = function(opt_options) {
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ const DEFAULT_VERSION = '1.1.0';
|
|||||||
* Feature format for reading and writing data in the WFS format.
|
* Feature format for reading and writing data in the WFS format.
|
||||||
* By default, supports WFS version 1.1.0. You can pass a GML format
|
* By default, supports WFS version 1.1.0. You can pass a GML format
|
||||||
* as option if you want to read a WFS that contains GML2 (WFS 1.0.0).
|
* as option if you want to read a WFS that contains GML2 (WFS 1.0.0).
|
||||||
* Also see {@link ol.format.GMLBase} which is used by this format.
|
* Also see {@link module:ol/format/GMLBase~GMLBase} which is used by this format.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param {module:ol/format/WFS~Options=} opt_options Optional configuration object.
|
* @param {module:ol/format/WFS~Options=} opt_options Optional configuration object.
|
||||||
@@ -142,7 +142,7 @@ const WFS = function(opt_options) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {ol.format.GMLBase}
|
* @type {module:ol/format/GMLBase~GMLBase}
|
||||||
*/
|
*/
|
||||||
this.gmlFormat_ = options.gmlFormat ?
|
this.gmlFormat_ = options.gmlFormat ?
|
||||||
options.gmlFormat : new GML3();
|
options.gmlFormat : new GML3();
|
||||||
|
|||||||
Reference in New Issue
Block a user