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 4138ef6..cae0cd6 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),