mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
remove OL touch controls
They interfere with Shift-Zoom.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user