mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +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.Navigation(),
|
||||||
new OpenLayers.Control.PanZoomBar(),
|
new OpenLayers.Control.PanZoomBar(),
|
||||||
new OpenLayers.Control.MousePosition(),
|
new OpenLayers.Control.MousePosition(),
|
||||||
new OpenLayers.Control.TouchNavigation({
|
|
||||||
dragPanOptions: { enableKinetic: true }
|
|
||||||
}),
|
|
||||||
new OpenLayers.Control.Attribution()],
|
new OpenLayers.Control.Attribution()],
|
||||||
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
||||||
maxResolution: 156543.0399,
|
maxResolution: 156543.0399,
|
||||||
|
|||||||
@@ -112,10 +112,6 @@
|
|||||||
new OpenLayers.Control.Navigation(),
|
new OpenLayers.Control.Navigation(),
|
||||||
new OpenLayers.Control.PanZoomBar(),
|
new OpenLayers.Control.PanZoomBar(),
|
||||||
new OpenLayers.Control.MousePosition(),
|
new OpenLayers.Control.MousePosition(),
|
||||||
new OpenLayers.Control.TouchNavigation({
|
|
||||||
dragPanOptions: { enableKinetic: true }
|
|
||||||
}),
|
|
||||||
|
|
||||||
new OpenLayers.Control.Attribution()],
|
new OpenLayers.Control.Attribution()],
|
||||||
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
||||||
maxResolution: 156543.0399,
|
maxResolution: 156543.0399,
|
||||||
|
|||||||
Reference in New Issue
Block a user