Prevent default in double click zoom (refs #70)
This commit is contained in:
1 parent
0ae3f8806e
commit
92b13b36d9
1 file changed
+1
@@ -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