From 2711342ff3a0ab8c15fc3b096d9c95bbf7ba9d86 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 18 Nov 2016 16:57:24 +0000 Subject: [Bromley] Fix map tiles. The change to remove inline JavaScript stopped the Bromley-specific tiles from working. Put them back with an extra JavaScript file. --- perllib/FixMyStreet/Map/OSM/CycleMap.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perllib/FixMyStreet/Map/OSM/CycleMap.pm') diff --git a/perllib/FixMyStreet/Map/OSM/CycleMap.pm b/perllib/FixMyStreet/Map/OSM/CycleMap.pm index 8f1de39d2..bb6aefc8c 100644 --- a/perllib/FixMyStreet/Map/OSM/CycleMap.pm +++ b/perllib/FixMyStreet/Map/OSM/CycleMap.pm @@ -9,9 +9,7 @@ use base 'FixMyStreet::Map::OSM'; use strict; -sub map_type { - return 'OpenLayers.Layer.OSM.CycleMap'; -} +sub map_type { 'OpenLayers.Layer.OSM.CycleMap' } sub base_tile_url { return 'tile.opencyclemap.org/cycle'; -- cgit v1.2.3