summaryrefslogtreecommitdiff
path: root/misc/openlayers/examples/anchor-permalink.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/anchor-permalink.js
parente763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff)
downloadpostrunner-e30f267181d990947e67909de4809fa941698c85.zip
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/examples/anchor-permalink.js')
-rw-r--r--misc/openlayers/examples/anchor-permalink.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/misc/openlayers/examples/anchor-permalink.js b/misc/openlayers/examples/anchor-permalink.js
deleted file mode 100644
index 1ad2939..0000000
--- a/misc/openlayers/examples/anchor-permalink.js
+++ /dev/null
@@ -1,13 +0,0 @@
-function init() {
- var map = new OpenLayers.Map({
- div: "map",
- projection: new OpenLayers.Projection("EPSG:900913"),
- displayProjection: new OpenLayers.Projection("EPSG:4326"),
- layers: [
- new OpenLayers.Layer.OSM()
- ]
- });
- if (!map.getCenter()) map.zoomToMaxExtent();
-
- map.addControl(new OpenLayers.Control.Permalink({anchor: true}));
-}