Skip to content

Commit

Permalink
mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefau…
Browse files Browse the repository at this point in the history
…lts() was removed in OpenLayers 2.12

git-svn-id: http://svn.luci.subsignal.org/luci/trunk@8874 ab181a69-ba2e-0410-a84d-ff88ab4c47bc
  • Loading branch information
soma committed Jul 9, 2012
1 parent 39e4f18 commit 567b6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/freifunk/htdocs/luci-static/resources/osm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 567b6eb

Please sign in to comment.