Remove ol.DEBUG
This commit is contained in:
@@ -100,8 +100,6 @@ ol.interaction.DragAndDrop.prototype.handleResult_ = function(file, event) {
|
||||
if (!projection) {
|
||||
var view = map.getView();
|
||||
projection = view.getProjection();
|
||||
ol.DEBUG && console.assert(projection !== undefined,
|
||||
'projection should be defined');
|
||||
}
|
||||
var formatConstructors = this.formatConstructors_;
|
||||
var features = [];
|
||||
|
||||
Reference in New Issue
Block a user