Prevent default in double click zoom (refs #70)
This commit is contained in:
@@ -37,5 +37,6 @@ ol.interaction.DblClickZoom.prototype.handleMapBrowserEvent =
|
||||
-this.delta_ : this.delta_;
|
||||
map.zoom(delta, anchor);
|
||||
mapBrowserEvent.preventDefault();
|
||||
browserEvent.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user