Use a PanZoom control on small screens instead of a PanZoomBar control.

This commit is contained in:
Tom Hughes 2009-10-23 23:31:19 +00:00
parent 843d601b0a
commit 78d4944caa
4 changed files with 13 additions and 0 deletions

View file

@ -22,6 +22,7 @@ function createMap(divName, options) {
new OpenLayers.Control.Attribution(),
new OpenLayers.Control.LayerSwitcher(),
new OpenLayers.Control.Navigation(),
new OpenLayers.Control.PanZoom(),
new OpenLayers.Control.PanZoomBar()
],
units: "m",