From a74fa3d52cc62dc7d3932820f3c75b6024f11161 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 20 Jun 2012 12:10:36 +0100 Subject: [PATCH 1/2] According to http://wiki.openstreetmap.org/wiki/Mapquest#MapQuest-hosted_map_tiles the attributtion for Open Street Map derived Map Quest tiles was wrong. Fixed. --- examples/mapquest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mapquest.js b/examples/mapquest.js index 708cfdc4ad..feea370aa5 100644 --- a/examples/mapquest.js +++ b/examples/mapquest.js @@ -11,7 +11,7 @@ var map = new OpenLayers.Map({ "http://otile4.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png" ], { - attribution: "Tiles Courtesy of MapQuest ", + attribution: "Data, imagery and map information provided by MapQuest, Open Street Map and contributors, CC-BY-SA ", transitionEffect: "resize" } ), @@ -33,4 +33,4 @@ var map = new OpenLayers.Map({ zoom: 1 }); -map.addControl(new OpenLayers.Control.LayerSwitcher()); \ No newline at end of file +map.addControl(new OpenLayers.Control.LayerSwitcher()); From dfb1c1e234f2eb49765b7c4dc8307b990fb0e31c Mon Sep 17 00:00:00 2001 From: James Date: Wed, 20 Jun 2012 12:50:59 +0100 Subject: [PATCH 2/2] According to http://developer.mapquest.com/web/products/open/map#openlayers (Terms of Use Section) this is how MapQuest Open Aerial Tiles should be credited. --- examples/mapquest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mapquest.js b/examples/mapquest.js index feea370aa5..9761e897b3 100644 --- a/examples/mapquest.js +++ b/examples/mapquest.js @@ -24,7 +24,7 @@ var map = new OpenLayers.Map({ "http://oatile4.mqcdn.com/naip/${z}/${x}/${y}.png" ], { - attribution: "Tiles Courtesy of MapQuest ", + attribution: "Tiles Courtesy of MapQuest. Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency. ", transitionEffect: "resize" } )