aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/map-bing-ol.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/map-bing-ol.js')
-rw-r--r--www/js/map-bing-ol.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/www/js/map-bing-ol.js b/www/js/map-bing-ol.js
index 9e9354d..f39cbf8 100644
--- a/www/js/map-bing-ol.js
+++ b/www/js/map-bing-ol.js
@@ -1,9 +1,4 @@
-function set_map_config(perm) {
- var permalink_id;
- if ($('#map_permalink').length) {
- permalink_id = 'map_permalink';
- }
-
+function set_map_config() {
var nav_opts = { zoomWheelEnabled: false };
//if (fixmystreet.page == 'around' && $('html').hasClass('mobile')) {
nav_opts = {};
@@ -14,7 +9,6 @@ function set_map_config(perm) {
new OpenLayers.Control.Attribution(),
new OpenLayers.Control.ArgParser(),
fixmystreet.nav_control,
- new OpenLayers.Control.Permalink(permalink_id),
new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' })
];
fixmystreet.map_type = OpenLayers.Layer.Bing;