Change ol.format.IGCZ type to IGCZ

This commit is contained in:
Frederic Junod
2018-01-09 08:25:27 +01:00
parent 4934318a5a
commit 3ce7cae338
2 changed files with 3 additions and 3 deletions

View File

@@ -1538,7 +1538,7 @@ olx.format.TopoJSONOptions.prototype.layers;
/** /**
* @typedef {{altitudeMode: (ol.format.IGCZ|string|undefined)}} * @typedef {{altitudeMode: (IGCZ|string|undefined)}}
*/ */
olx.format.IGCOptions; olx.format.IGCOptions;
@@ -1546,7 +1546,7 @@ olx.format.IGCOptions;
/** /**
* Altitude mode. Possible values are `barometric`, `gps`, and `none`. Default * Altitude mode. Possible values are `barometric`, `gps`, and `none`. Default
* is `none`. * is `none`.
* @type {ol.format.IGCZ|string|undefined} * @type {IGCZ|string|undefined}
* @api * @api
*/ */
olx.format.IGCOptions.prototype.altitudeMode; olx.format.IGCOptions.prototype.altitudeMode;

View File

@@ -41,7 +41,7 @@ var IGC = function(opt_options) {
/** /**
* @private * @private
* @type {ol.format.IGCZ} * @type {IGCZ}
*/ */
this.altitudeMode_ = options.altitudeMode ? options.altitudeMode : IGCZ.NONE; this.altitudeMode_ = options.altitudeMode ? options.altitudeMode : IGCZ.NONE;
}; };