summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/htdocs/luci-static
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2012-07-09 05:48:37 +0000
committerManuel Munz <freifunk@somakoma.de>2012-07-09 05:48:37 +0000
commitd0a6fbf397fc8cb15cb7415abcf2aa5ebe1f493f (patch)
tree4a44b70a7db9be2c806e7b4ccc610c607e302388 /modules/freifunk/htdocs/luci-static
parent13c3471eb3491a9656b955aa182c273ca6bfa6f8 (diff)
mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was removed in OpenLayers 2.12
Diffstat (limited to 'modules/freifunk/htdocs/luci-static')
-rw-r--r--modules/freifunk/htdocs/luci-static/resources/osm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/htdocs/luci-static/resources/osm.js b/modules/freifunk/htdocs/luci-static/resources/osm.js
index 4138ef6ad..cae0cd66f 100644
--- a/modules/freifunk/htdocs/luci-static/resources/osm.js
+++ b/modules/freifunk/htdocs/luci-static/resources/osm.js
@@ -99,7 +99,7 @@ function drawmap() {
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
controls: [
- new OpenLayers.Control.MouseDefaults(),
+ new OpenLayers.Control.Navigation(),
new OpenLayers.Control.PanZoomBar()],
maxExtent:
new OpenLayers.Bounds(-20037508.34,-20037508.34, 20037508.34, 20037508.34),