aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/OSM/CycleMap.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-25 14:28:40 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-25 14:28:40 +0100
commitfe35ddba0fab0ebc413300dff0f1f323aec40e9a (patch)
tree00e7253bf8f6fa6e399a857450b31fe4b3d1bf12 /perllib/FixMyStreet/Map/OSM/CycleMap.pm
parent34296c409fe2ab9f02e5aeb14100570a8fb68dea (diff)
Make tile URL a parameter so it can be different, bring OSM's StreetView under the same code.
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM/CycleMap.pm')
-rw-r--r--perllib/FixMyStreet/Map/OSM/CycleMap.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Map/OSM/CycleMap.pm b/perllib/FixMyStreet/Map/OSM/CycleMap.pm
index 06b07ae20..71b86de8f 100644
--- a/perllib/FixMyStreet/Map/OSM/CycleMap.pm
+++ b/perllib/FixMyStreet/Map/OSM/CycleMap.pm
@@ -15,4 +15,8 @@ sub map_type {
return 'OpenLayers.Layer.OSM.CycleMap';
}
+sub base_tile_url {
+ return 'tile.opencyclemap.org/cycle';
+}
+
1;