aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing-ol.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-21 19:18:47 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-21 19:18:47 +0000
commit47284eb828b836af4cdd1bb4f60af0e797cd6bd7 (patch)
tree2743a0ce121d125988c430c97be51709f9e61f8d /web/js/map-bing-ol.js
parent020b5112c58f30f5f83aac6f0aa53f91c90f8599 (diff)
Only need zoom altering if being used for OSM permalink; adjust for other uses.
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 0525e53d3..34ea255e8 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -16,7 +16,7 @@ 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.PermalinkFMS(permalink_id),
new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' })
];
/* Linking back to around from report page, keeping track of map moves */