diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-03 21:45:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-03 21:45:48 +0100 |
commit | a18ac5c65d3ee4fa6220417ab1644bdba938a19d (patch) | |
tree | 0cfebe31168ccf2b6bcbe03f5aabf8d86d7cdceb /web/js/map-wmts-zurich.js | |
parent | 35e58052f4f1250a3c1bb40d126e36fcc735d209 (diff) | |
parent | 90d6c6ed2ce1f4535377b14ce6e93e3849a2f1a7 (diff) |
Merge branch '1350-stop-map-hiding-behind-header'
Diffstat (limited to 'web/js/map-wmts-zurich.js')
-rw-r--r-- | web/js/map-wmts-zurich.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js index 4c386e87d..9e0555079 100644 --- a/web/js/map-wmts-zurich.js +++ b/web/js/map-wmts-zurich.js @@ -56,15 +56,9 @@ $(function(){ function set_map_config(perm) { // This stuff is copied from js/map-bing-ol.js - 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.ArgParser(), - fixmystreet.nav_control + new OpenLayers.Control.Navigation() ]; if ( fixmystreet.page != 'report' || !$('html').hasClass('mobile') ) { fixmystreet.controls.push( new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) ); |