aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing-ol.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 21:45:48 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-03 21:45:48 +0100
commita18ac5c65d3ee4fa6220417ab1644bdba938a19d (patch)
tree0cfebe31168ccf2b6bcbe03f5aabf8d86d7cdceb /web/js/map-bing-ol.js
parent35e58052f4f1250a3c1bb40d126e36fcc735d209 (diff)
parent90d6c6ed2ce1f4535377b14ce6e93e3849a2f1a7 (diff)
Merge branch '1350-stop-map-hiding-behind-header'
Diffstat (limited to 'web/js/map-bing-ol.js')
-rw-r--r--web/js/map-bing-ol.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js
index 9b0a73fb8..5e29daea1 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -4,16 +4,10 @@ function _set_map_config() {
permalink_id = 'map_permalink';
}
- var nav_opts = { zoomWheelEnabled: false };
- if (fixmystreet.page == 'around' && $('html').hasClass('mobile')) {
- nav_opts = {};
- }
- fixmystreet.nav_control = new OpenLayers.Control.Navigation(nav_opts);
-
fixmystreet.controls = [
new OpenLayers.Control.Attribution(),
new OpenLayers.Control.ArgParser(),
- fixmystreet.nav_control,
+ new OpenLayers.Control.Navigation(),
new OpenLayers.Control.PermalinkFMS(permalink_id),
new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' })
];