summaryrefslogtreecommitdiff
path: root/misc/openlayers/examples/mapquest.js
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2015-10-17 21:36:38 +0200
committerChris Schlaeger <chris@linux.com>2015-10-17 21:36:38 +0200
commite30f267181d990947e67909de4809fa941698c85 (patch)
tree46e9f94c2b3699ed378963b420b8a8d361286ea1 /misc/openlayers/examples/mapquest.js
parente763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff)
downloadpostrunner-e30f267181d990947e67909de4809fa941698c85.zip
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/examples/mapquest.js')
-rw-r--r--misc/openlayers/examples/mapquest.js36
1 files changed, 0 insertions, 36 deletions
diff --git a/misc/openlayers/examples/mapquest.js b/misc/openlayers/examples/mapquest.js
deleted file mode 100644
index 5a45d1c..0000000
--- a/misc/openlayers/examples/mapquest.js
+++ /dev/null
@@ -1,36 +0,0 @@
-var map = new OpenLayers.Map({
- div: "map",
- projection: "EPSG:900913",
- layers: [
- new OpenLayers.Layer.XYZ(
- "OpenStreetMap",
- [
- "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 <a href='http://www.mapquest.com/' target='_blank'>MapQuest</a>, <a href='http://www.openstreetmap.org/' target='_blank'>Open Street Map</a> and contributors, <a href='http://creativecommons.org/licenses/by-sa/2.0/' target='_blank'>CC-BY-SA</a> <img src='http://developer.mapquest.com/content/osm/mq_logo.png' border='0'>",
- transitionEffect: "resize"
- }
- ),
- new OpenLayers.Layer.XYZ(
- "Imagery",
- [
- "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 <a href='http://open.mapquest.co.uk/' target='_blank'>MapQuest</a>. Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency. <img src='http://developer.mapquest.com/content/osm/mq_logo.png' border='0'>",
- transitionEffect: "resize"
- }
- )
- ],
- center: [0, 0],
- zoom: 1
-});
-
-map.addControl(new OpenLayers.Control.LayerSwitcher());