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