Move Options to ol/format/IGC

This commit is contained in:
Tim Schaub
2018-03-11 22:09:55 -06:00
parent 95e1c6f69a
commit 2ce44e8fc8
3 changed files with 10 additions and 23 deletions

View File

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