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",

View file

@ -18,6 +18,10 @@
display: none;
}
.olControlPanZoom {
display: none;
}
.olControlPanZoomBar {
display: none;
}

View file

@ -142,3 +142,7 @@ h1 {
width: 100%;
max-width: 18em;
}
.olControlPanZoomBar {
display: none;
}

View file

@ -3,3 +3,7 @@
#logo-img-sml {
display: none;
}
.olControlPanZoom {
display: none;
}