aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-01 15:31:53 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-01 15:31:53 +0100
commit5d531f3b05a2e6f1557954bcb0a50a2aa60cc8f9 (patch)
tree9887f1298d4fee9217f94c4aa0e98698fd4f4f77 /perllib/FixMyStreet/Map
parentb054065d6b1025e97b1a19e8a69280954253599d (diff)
Non-JS using the right tile server.
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r--perllib/FixMyStreet/Map/FMS.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Map/FMS.pm b/perllib/FixMyStreet/Map/FMS.pm
index c54ee8f3b..8db27085b 100644
--- a/perllib/FixMyStreet/Map/FMS.pm
+++ b/perllib/FixMyStreet/Map/FMS.pm
@@ -41,10 +41,10 @@ sub map_tiles {
my ($self, $x, $y, $z) = @_;
if ($z >= 16) {
return [
- "http://a.os.openstreetmap.org/sv/$z/" . ($x-1) . "/" . ($y-1) . ".png",
- "http://b.os.openstreetmap.org/sv/$z/$x/" . ($y-1) . ".png",
- "http://c.os.openstreetmap.org/sv/$z/" . ($x-1) . "/$y.png",
- "http://os.openstreetmap.org/sv/$z/$x/$y.png",
+ "http://a.tilma.mysociety.org/sv/$z/" . ($x-1) . "/" . ($y-1) . ".png",
+ "http://b.tilma.mysociety.org/sv/$z/$x/" . ($y-1) . ".png",
+ "http://c.tilma.mysociety.org/sv/$z/" . ($x-1) . "/$y.png",
+ "http://tilma.mysociety.org/sv/$z/$x/$y.png",
];
} else {
return [