mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 13:44:36 +03:00
remove OL touch controls
They interfere with Shift-Zoom.
This commit is contained in:
parent
f9a7f03239
commit
db2cfd3503
@ -19,9 +19,6 @@
|
||||
new OpenLayers.Control.Navigation(),
|
||||
new OpenLayers.Control.PanZoomBar(),
|
||||
new OpenLayers.Control.MousePosition(),
|
||||
new OpenLayers.Control.TouchNavigation({
|
||||
dragPanOptions: { enableKinetic: true }
|
||||
}),
|
||||
new OpenLayers.Control.Attribution()],
|
||||
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
||||
maxResolution: 156543.0399,
|
||||
|
@ -112,10 +112,6 @@
|
||||
new OpenLayers.Control.Navigation(),
|
||||
new OpenLayers.Control.PanZoomBar(),
|
||||
new OpenLayers.Control.MousePosition(),
|
||||
new OpenLayers.Control.TouchNavigation({
|
||||
dragPanOptions: { enableKinetic: true }
|
||||
}),
|
||||
|
||||
new OpenLayers.Control.Attribution()],
|
||||
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
||||
maxResolution: 156543.0399,
|
||||
|
Loading…
Reference in New Issue
Block a user