diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-09-05 20:36:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-09-19 13:48:24 +0100 |
commit | 215b9b2286ea245eb439ed8b0bd9b1c8e7bc14e7 (patch) | |
tree | 590d1663cb5ce976e57a07a99ffb18e3978fa286 /web/js/map-google-ol.js | |
parent | 5353decc4436e4ae5d1fcf630f09d2c206df1f3e (diff) |
Remove on-map permalink.
We retain the code as it is updating the URL on map move.
Diffstat (limited to 'web/js/map-google-ol.js')
-rw-r--r-- | web/js/map-google-ol.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/web/js/map-google-ol.js b/web/js/map-google-ol.js index 4b2d818c9..2769853ce 100644 --- a/web/js/map-google-ol.js +++ b/web/js/map-google-ol.js @@ -17,15 +17,10 @@ $(function(){ }); fixmystreet.maps.config = function() { - var permalink_id; - if ($('#map_permalink').length) { - permalink_id = 'map_permalink'; - } - fixmystreet.controls = [ new OpenLayers.Control.ArgParserFMS(), new OpenLayers.Control.Navigation(), - new OpenLayers.Control.PermalinkFMS(permalink_id), + new OpenLayers.Control.PermalinkFMS('map'), new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) ]; |