diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-29 12:58:09 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-29 12:58:09 +0000 |
commit | 3ffef58745c4ce245953d32aeb618d9323fa6077 (patch) | |
tree | 08e359311ee55b3f6f89de058430844a0f0d9daa /web/js/map-bing-ol.js | |
parent | ee7168d35e11f64ecefb7093c04e323dace9722b (diff) |
Finished style and interaction for mobile map
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
Diffstat (limited to 'web/js/map-bing-ol.js')
-rw-r--r-- | web/js/map-bing-ol.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js index b95eb84fb..478bf6527 100644 --- a/web/js/map-bing-ol.js +++ b/web/js/map-bing-ol.js @@ -8,13 +8,14 @@ function set_map_config(perm) { new OpenLayers.Control.Attribution(), new OpenLayers.Control.ArgParser() ]; + $('#sub_map_links').hide(); } else { fixmystreet.controls = [ new OpenLayers.Control.Attribution(), new OpenLayers.Control.ArgParser(), new OpenLayers.Control.Navigation({ zoomWheelEnabled: false }), new OpenLayers.Control.Permalink(permalink_id), - new OpenLayers.Control.PanZoomFMS() + new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) ]; } fixmystreet.map_type = OpenLayers.Layer.Bing; |