From fe35ddba0fab0ebc413300dff0f1f323aec40e9a Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 25 May 2011 14:28:40 +0100 Subject: Make tile URL a parameter so it can be different, bring OSM's StreetView under the same code. --- perllib/FixMyStreet/Map/OSM/CycleMap.pm | 4 ++++ 1 file changed, 4 insertions(+) (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 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; -- cgit v1.2.3