Skip to content

Commit 855540a

Browse files
committed
Fix #79: Update url for MapQuestOpen Aerial
If the 'MapQuestOpen Aerial' map is selected, the map is not displayed. The url pointing to the tiles of this map is wrong. This affects maps v1 and v2.
1 parent bda5b43 commit 855540a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/functions_map.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function osm_get_js($conf, $local_conf, $js_data)
298298
else if($baselayer == 'mapnikfr') $baselayerurl = 'http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png';
299299
else if($baselayer == 'blackandwhite') $baselayerurl = 'http://{s}.www.toolserver.org/tiles/bw-mapnik/{z}/{x}/{y}.png';
300300
else if($baselayer == 'mapnikhot') $baselayerurl = 'http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png';
301-
else if($baselayer == 'mapquestaerial') $baselayerurl = 'http://oatile{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg';
301+
else if($baselayer == 'mapquestaerial') $baselayerurl = 'http://otile1.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.png';
302302
else if($baselayer == 'toner') $baselayerurl = 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png';
303303
else if($baselayer == 'custom') $baselayerurl = $custombaselayerurl;
304304

0 commit comments

Comments
 (0)