diff --git a/examples/mapquest.html b/examples/mapquest.html new file mode 100644 index 0000000000..0fc02ec9e6 --- /dev/null +++ b/examples/mapquest.html @@ -0,0 +1,28 @@ + + +
+ + + ++ See the mapquest.js source for + detail on using MapQuest tiles in OpenLayers. +
+
",
+ transitionEffect: "resize"
+ }
+ ),
+ 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"
+ ],
+ {
+ attribution: "Tiles Courtesy of MapQuest
",
+ transitionEffect: "resize"
+ }
+ )
+ ],
+ center: [0, 0],
+ zoom: 1
+});
+
+map.addControl(new OpenLayers.Control.LayerSwitcher());
\ No newline at end of file