From: Manuel Munz Date: Mon, 9 Jul 2012 05:48:37 +0000 (+0000) Subject: mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was remove... X-Git-Tag: 0.11.0~486 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=d0a6fbf397fc8cb15cb7415abcf2aa5ebe1f493f;p=project%2Fluci.git mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was removed in OpenLayers 2.12 --- 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),