mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was removed in OpenLayers 2.12
This commit is contained in:
parent
13c3471eb3
commit
d0a6fbf397
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ function drawmap() {
|
||||||
projection: new OpenLayers.Projection("EPSG:900913"),
|
projection: new OpenLayers.Projection("EPSG:900913"),
|
||||||
displayProjection: new OpenLayers.Projection("EPSG:4326"),
|
displayProjection: new OpenLayers.Projection("EPSG:4326"),
|
||||||
controls: [
|
controls: [
|
||||||
new OpenLayers.Control.MouseDefaults(),
|
new OpenLayers.Control.Navigation(),
|
||||||
new OpenLayers.Control.PanZoomBar()],
|
new OpenLayers.Control.PanZoomBar()],
|
||||||
maxExtent:
|
maxExtent:
|
||||||
new OpenLayers.Bounds(-20037508.34,-20037508.34, 20037508.34, 20037508.34),
|
new OpenLayers.Bounds(-20037508.34,-20037508.34, 20037508.34, 20037508.34),
|
||||||
|
|
Loading…
Reference in a new issue