Use goog.DEBUG instead of ol.DEBUG for now
This commit is contained in:
@@ -153,7 +153,7 @@ ol.format.IGC.prototype.readFeatureFromText = function(text, opt_options) {
|
||||
} else if (altitudeMode == ol.format.IGCZ.BAROMETRIC) {
|
||||
z = parseInt(m[12], 10);
|
||||
} else {
|
||||
ol.DEBUG && console.assert(false, 'Unknown altitude mode.');
|
||||
goog.DEBUG && console.assert(false, 'Unknown altitude mode.');
|
||||
z = 0;
|
||||
}
|
||||
flatCoordinates.push(z);
|
||||
|
||||
Reference in New Issue
Block a user