Use goog.DEBUG instead of ol.DEBUG for now
This commit is contained in:
@@ -261,7 +261,7 @@ ol.geom.Geometry.prototype.translate = function(deltaX, deltaY) {};
|
||||
* @api stable
|
||||
*/
|
||||
ol.geom.Geometry.prototype.transform = function(source, destination) {
|
||||
ol.DEBUG && console.assert(
|
||||
goog.DEBUG && console.assert(
|
||||
ol.proj.get(source).getUnits() !== ol.proj.Units.TILE_PIXELS &&
|
||||
ol.proj.get(destination).getUnits() !== ol.proj.Units.TILE_PIXELS,
|
||||
'cannot transform geometries with TILE_PIXELS units');
|
||||
|
||||
Reference in New Issue
Block a user