From 22db2a9f61f6c3646da60475c663656f04505281 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 20 Feb 2013 13:33:04 -0700 Subject: [PATCH] Update MapQuest tile URL templates --- examples/mapquest.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/mapquest.js b/examples/mapquest.js index 9761e897b3..5a45d1c3ed 100644 --- a/examples/mapquest.js +++ b/examples/mapquest.js @@ -5,10 +5,10 @@ var map = new OpenLayers.Map({ new OpenLayers.Layer.XYZ( "OpenStreetMap", [ - "http://otile1.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", - "http://otile2.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", - "http://otile3.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", - "http://otile4.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png" + "http://otile1.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png", + "http://otile2.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png", + "http://otile3.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png", + "http://otile4.mqcdn.com/tiles/1.0.0/map/${z}/${x}/${y}.png" ], { attribution: "Data, imagery and map information provided by MapQuest, Open Street Map and contributors, CC-BY-SA ", @@ -18,10 +18,10 @@ var map = new OpenLayers.Map({ new OpenLayers.Layer.XYZ( "Imagery", [ - "http://oatile1.mqcdn.com/naip/${z}/${x}/${y}.png", - "http://oatile2.mqcdn.com/naip/${z}/${x}/${y}.png", - "http://oatile3.mqcdn.com/naip/${z}/${x}/${y}.png", - "http://oatile4.mqcdn.com/naip/${z}/${x}/${y}.png" + "http://otile1.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png", + "http://otile2.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png", + "http://otile3.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png", + "http://otile4.mqcdn.com/tiles/1.0.0/sat/${z}/${x}/${y}.png" ], { attribution: "Tiles Courtesy of MapQuest. Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency. ",