From d0a6fbf397fc8cb15cb7415abcf2aa5ebe1f493f Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Mon, 9 Jul 2012 05:48:37 +0000 Subject: mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was removed in OpenLayers 2.12 --- modules/freifunk/htdocs/luci-static/resources/osm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/freifunk') 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), -- cgit v1.2.3