aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/OSM.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-11-18 16:57:24 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-11-18 16:57:24 +0000
commit2711342ff3a0ab8c15fc3b096d9c95bbf7ba9d86 (patch)
treefc46c57b5362fc11167ec5538c54fb75da56839c /perllib/FixMyStreet/Map/OSM.pm
parentc94ed4479f26b6d4cee0bf16cac47a88ee7f6cae (diff)
[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.
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM.pm')
-rw-r--r--perllib/FixMyStreet/Map/OSM.pm8
1 files changed, 2 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/Map/OSM.pm b/perllib/FixMyStreet/Map/OSM.pm
index d4000f1a4..76af99d36 100644
--- a/perllib/FixMyStreet/Map/OSM.pm
+++ b/perllib/FixMyStreet/Map/OSM.pm
@@ -14,13 +14,9 @@ use Utils;
use constant ZOOM_LEVELS => 6;
use constant MIN_ZOOM_LEVEL => 13;
-sub map_type {
- return 'OpenLayers.Layer.OSM.Mapnik';
-}
+sub map_type { 'OpenLayers.Layer.OSM.Mapnik' }
-sub map_template {
- return 'osm';
-}
+sub map_template { 'osm' }
sub map_tiles {
my ( $self, %params ) = @_;