mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was remove...
authorManuel Munz <freifunk@somakoma.de>
Mon, 9 Jul 2012 05:48:37 +0000 (05:48 +0000)
committerManuel Munz <freifunk@somakoma.de>
Mon, 9 Jul 2012 05:48:37 +0000 (05:48 +0000)
modules/freifunk/htdocs/luci-static/resources/osm.js

index 4138ef6ad2970a1c53416d61c9a6a02f4e20eb14..cae0cd66f7b90fea380e520b593f299bdfcb97fe 100644 (file)
@@ -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),