Rename goog.DEBUG to ol.DEBUG
This commit is contained in:
@@ -286,7 +286,7 @@ ol.style.Circle.prototype.render_ = function(atlasManager) {
|
||||
var info = atlasManager.add(
|
||||
id, size, size, this.draw_.bind(this, renderOptions),
|
||||
renderHitDetectionCallback);
|
||||
goog.DEBUG && console.assert(info, 'circle radius is too large');
|
||||
ol.DEBUG && console.assert(info, 'circle radius is too large');
|
||||
|
||||
this.canvas_ = info.image;
|
||||
this.origin_ = [info.offsetX, info.offsetY];
|
||||
|
||||
Reference in New Issue
Block a user