diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-01-09 17:58:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-01-09 17:58:43 +0000 |
commit | 4ae8d597a80d91084dcdcd999d480f41a57c70d1 (patch) | |
tree | 3edb1d4000f574ce40783b07487b07c2d2d0f1fc /perllib/FixMyStreet/Map | |
parent | 14384f023d897e40a6f02a58eea0f3d84c6584d8 (diff) |
Use HTTPS OpenStreetMap tiles.
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r-- | perllib/FixMyStreet/Map/OSM.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Map/OSM.pm b/perllib/FixMyStreet/Map/OSM.pm index 74af0e9f3..82ddd293b 100644 --- a/perllib/FixMyStreet/Map/OSM.pm +++ b/perllib/FixMyStreet/Map/OSM.pm @@ -29,10 +29,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", ]; } |