summaryrefslogtreecommitdiff
path: root/misc/openlayers/examples/example.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/example.js
parente763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff)
downloadpostrunner-e30f267181d990947e67909de4809fa941698c85.zip
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/examples/example.js')
-rw-r--r--misc/openlayers/examples/example.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/misc/openlayers/examples/example.js b/misc/openlayers/examples/example.js
deleted file mode 100644
index d02e530..0000000
--- a/misc/openlayers/examples/example.js
+++ /dev/null
@@ -1,23 +0,0 @@
-var map = new OpenLayers.Map("map");
-
-var ol_wms = new OpenLayers.Layer.WMS(
- "OpenLayers WMS",
- "http://vmap0.tiles.osgeo.org/wms/vmap0",
- {layers: "basic"}
-);
-
-var dm_wms = new OpenLayers.Layer.WMS(
- "Canadian Data",
- "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
- {
- layers: "bathymetry,land_fn,park,drain_fn,drainage," +
- "prov_bound,fedlimit,rail,road,popplace",
- transparent: "true",
- format: "image/png"
- },
- {isBaseLayer: false, visibility: false}
-);
-
-map.addLayers([ol_wms, dm_wms]);
-map.addControl(new OpenLayers.Control.LayerSwitcher());
-map.zoomToMaxExtent();