diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 14:28:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-25 14:28:40 +0100 |
commit | fe35ddba0fab0ebc413300dff0f1f323aec40e9a (patch) | |
tree | 00e7253bf8f6fa6e399a857450b31fe4b3d1bf12 /perllib/FixMyStreet/Map/OSM/CycleMap.pm | |
parent | 34296c409fe2ab9f02e5aeb14100570a8fb68dea (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.pm | 4 |
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; |