aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing-ol.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-02-28 12:36:09 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-02-28 12:36:09 +0000
commit5a5868bd9ea94dd48dd8cd84b91d3e534ccb27b4 (patch)
treece5b1d1a8fac19b3db7bf713d1040d8647e77d53 /web/js/map-bing-ol.js
parent44e9fa6fe18ede6554ac94e37e520dfae99ab521 (diff)
Disable scroll wheel zooming on the map, as it causes confusion with a full screen map.
Diffstat (limited to 'web/js/map-bing-ol.js')
-rw-r--r--web/js/map-bing-ol.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js
index 94b777134..0211050c6 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -2,7 +2,7 @@ function set_map_config(perm) {
fixmystreet.controls = [
new OpenLayers.Control.Attribution(),
new OpenLayers.Control.ArgParser(),
- new OpenLayers.Control.Navigation(),
+ new OpenLayers.Control.Navigation({ zoomWheelEnabled: false }),
perm,
//new OpenLayers.Control.ZoomPanel()
new OpenLayers.Control.PanZoomFMS()