diff --git a/externs/olx.js b/externs/olx.js index 364786b711..b6571db758 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1538,7 +1538,7 @@ olx.format.TopoJSONOptions.prototype.layers; /** - * @typedef {{altitudeMode: (ol.format.IGCZ|string|undefined)}} + * @typedef {{altitudeMode: (IGCZ|string|undefined)}} */ olx.format.IGCOptions; @@ -1546,7 +1546,7 @@ olx.format.IGCOptions; /** * Altitude mode. Possible values are `barometric`, `gps`, and `none`. Default * is `none`. - * @type {ol.format.IGCZ|string|undefined} + * @type {IGCZ|string|undefined} * @api */ olx.format.IGCOptions.prototype.altitudeMode; diff --git a/src/ol/format/IGC.js b/src/ol/format/IGC.js index 733280b2a9..a8c46e94c3 100644 --- a/src/ol/format/IGC.js +++ b/src/ol/format/IGC.js @@ -41,7 +41,7 @@ var IGC = function(opt_options) { /** * @private - * @type {ol.format.IGCZ} + * @type {IGCZ} */ this.altitudeMode_ = options.altitudeMode ? options.altitudeMode : IGCZ.NONE; };