diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-07 12:55:35 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-07 12:55:35 +0100 |
commit | 80a01c11f656f19d6df4c2e4294f613db14689b1 (patch) | |
tree | d0694e80027ed20ed623db1c0cdaf4c77f0df0d3 /perllib/FixMyStreet/Map/OSM/MapQuest.pm | |
parent | f018e7969ef5d77a3b3fac780d235dfcd3301bb2 (diff) | |
parent | 0016c900b2f65f364fdfa373e8af723db5ebab75 (diff) |
Merge branch jonkri:master.
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM/MapQuest.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/OSM/MapQuest.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/Map/OSM/MapQuest.pm b/perllib/FixMyStreet/Map/OSM/MapQuest.pm index 4fc8ba57d..3b0df14b1 100644 --- a/perllib/FixMyStreet/Map/OSM/MapQuest.pm +++ b/perllib/FixMyStreet/Map/OSM/MapQuest.pm @@ -22,10 +22,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://otile1.$tile_url/$z/" . ($x - 1) . "/" . ($y - 1) . ".png", - "http://otile2.$tile_url/$z/$x/" . ($y - 1) . ".png", - "http://otile3.$tile_url/$z/" . ($x - 1) . "/$y.png", - "http://otile4.$tile_url/$z/$x/$y.png", + "https://otile1-s.$tile_url/$z/" . ($x - 1) . "/" . ($y - 1) . ".png", + "https://otile2-s.$tile_url/$z/$x/" . ($y - 1) . ".png", + "https://otile3-s.$tile_url/$z/" . ($x - 1) . "/$y.png", + "https://otile4-s.$tile_url/$z/$x/$y.png", ]; } @@ -34,7 +34,7 @@ sub base_tile_url { } sub copyright { - 'Data, imagery and map information provided by <a href="http://www.mapquest.com/">MapQuest</a> <img src="http://developer.mapquest.com/content/osm/mq_logo.png" />, <a href="http://openstreetmap.org/">OpenStreetMap</a> and contributors, <a href="http://opendatacommons.org/licenses/odbl/">ODbL</a>' + 'Data, imagery and map information provided by <a href="https://www.mapquest.com/">MapQuest</a> <img src="https://developer.mapquest.com/sites/default/files/mapquest/osm/mq_logo.png" />, <a href="https://openstreetmap.org/">OpenStreetMap</a> and contributors, <a href="https://opendatacommons.org/licenses/odbl/">ODbL</a>' } 1; |