Use goog.DEBUG instead of ol.DEBUG for now
This commit is contained in:
@@ -190,7 +190,7 @@ ol.renderer.dom.VectorLayer.prototype.forEachFeatureAtCoordinate = function(coor
|
||||
* @return {?} Callback result.
|
||||
*/
|
||||
function(feature) {
|
||||
ol.DEBUG && console.assert(feature !== undefined, 'received a feature');
|
||||
goog.DEBUG && console.assert(feature !== undefined, 'received a feature');
|
||||
var key = ol.getUid(feature).toString();
|
||||
if (!(key in features)) {
|
||||
features[key] = true;
|
||||
|
||||
Reference in New Issue
Block a user