From 457ce2af2b2e3d1e30ab440011b0c3de112b834b Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 1 Feb 2019 12:14:12 +0000 Subject: Improve use of OL ArgParser/missing zoom in URL. Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs. --- web/js/map-wmts-zurich.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js/map-wmts-zurich.js') diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js index eda0fbf44..346e9b89a 100644 --- a/web/js/map-wmts-zurich.js +++ b/web/js/map-wmts-zurich.js @@ -135,7 +135,7 @@ fixmystreet.maps.config = function() { // This stuff is copied from js/map-bing-ol.js fixmystreet.controls = [ - new OpenLayers.Control.ArgParser(), + new OpenLayers.Control.ArgParserFMS(), new OpenLayers.Control.Navigation() ]; if ( fixmystreet.page != 'report' || !$('html').hasClass('mobile') ) { -- cgit v1.2.3