aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map/OSM/MapQuest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Map/OSM/MapQuest.pm')
-rw-r--r--perllib/FixMyStreet/Map/OSM/MapQuest.pm10
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;