Move Options to ol/format/IGC
This commit is contained in:
@@ -5,21 +5,6 @@
|
|||||||
let olx;
|
let olx;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {{altitudeMode: (IGCZ|string|undefined)}}
|
|
||||||
*/
|
|
||||||
olx.format.IGCOptions;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Altitude mode. Possible values are `barometric`, `gps`, and `none`. Default
|
|
||||||
* is `none`.
|
|
||||||
* @type {IGCZ|string|undefined}
|
|
||||||
* @api
|
|
||||||
*/
|
|
||||||
olx.format.IGCOptions.prototype.altitudeMode;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {{extractStyles: (boolean|undefined),
|
* @typedef {{extractStyles: (boolean|undefined),
|
||||||
* defaultStyle: (Array.<ol.style.Style>|undefined),
|
* defaultStyle: (Array.<ol.style.Style>|undefined),
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
|
|
||||||
/**
|
|
||||||
* @typedef {Object} format_IGCOptions
|
|
||||||
* @property {IGCZ|string|undefined} altitudeMode Altitude mode. Possible values are `barometric`, `gps`, and `none`. Default
|
|
||||||
* is `none`.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} format_KMLOptions
|
* @typedef {Object} format_KMLOptions
|
||||||
* @property {boolean|undefined} extractStyles Extract styles from the KML. Default is `true`.
|
* @property {boolean|undefined} extractStyles Extract styles from the KML. Default is `true`.
|
||||||
|
|||||||
+10
-1
@@ -19,13 +19,22 @@ const IGCZ = {
|
|||||||
NONE: 'none'
|
NONE: 'none'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {Object} Options
|
||||||
|
* @property {IGCZ|string|undefined} altitudeMode Altitude mode. Possible
|
||||||
|
* values are `'barometric'`, `'gps'`, and `'none'`. Default
|
||||||
|
* is `'none'`.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @classdesc
|
||||||
* Feature format for `*.igc` flight recording files.
|
* Feature format for `*.igc` flight recording files.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.format.TextFeature}
|
* @extends {ol.format.TextFeature}
|
||||||
* @param {olx.format.IGCOptions=} opt_options Options.
|
* @param {module:ol/format/IGC~Options=} opt_options Options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const IGC = function(opt_options) {
|
const IGC = function(opt_options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user