diff options
author | Marius Halden <marius.h@lden.org> | 2015-01-26 18:13:55 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-01-26 18:13:55 +0100 |
commit | 1c5c685d0b0904e7ddc6e764e58e8fae08632d1d (patch) | |
tree | 559d5fddb743c1c083e23c9a3831efea92a240cb /perllib/FixMyStreet/Map/OSM.pm | |
parent | 84de1b811a219c41adbdcc8b65851320a77e98f7 (diff) | |
parent | 04117b8be30b5d82d50cdc047ac4e7c19864f8ed (diff) |
Merge tag 'v1.5.3' into fiksgatami-dev
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/OSM.pm | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/perllib/FixMyStreet/Map/OSM.pm b/perllib/FixMyStreet/Map/OSM.pm index 74af0e9f3..df2d16b82 100644 --- a/perllib/FixMyStreet/Map/OSM.pm +++ b/perllib/FixMyStreet/Map/OSM.pm @@ -1,5 +1,3 @@ -#!/usr/bin/perl -# # FixMyStreet:Map::OSM # OSM maps on FixMyStreet. # @@ -29,10 +27,10 @@ sub map_tiles { my ( $x, $y, $z ) = ( $params{x_tile}, $params{y_tile}, $params{zoom_act} ); my $tile_url = $self->base_tile_url(); return [ - "http://a.$tile_url/$z/" . ($x - 1) . "/" . ($y - 1) . ".png", - "http://b.$tile_url/$z/$x/" . ($y - 1) . ".png", - "http://c.$tile_url/$z/" . ($x - 1) . "/$y.png", - "http://$tile_url/$z/$x/$y.png", + "https://a.$tile_url/$z/" . ($x - 1) . "/" . ($y - 1) . ".png", + "https://b.$tile_url/$z/$x/" . ($y - 1) . ".png", + "https://c.$tile_url/$z/" . ($x - 1) . "/$y.png", + "https://a.$tile_url/$z/$x/$y.png", ]; } |