osm: do not override sorting order of layers
(cherry picked from commit 805498bc838218f31d11efac0b02996b11a953d1)master
parent
93a12752ac
commit
05decdadcb
|
@ -136,7 +136,7 @@ function mapsetup(divname, options) {
|
||||||
|
|
||||||
if (options.fullscreen) {
|
if (options.fullscreen) {
|
||||||
map.addControl(new OpenLayers.Control.PanZoomBar());
|
map.addControl(new OpenLayers.Control.PanZoomBar());
|
||||||
map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false}));
|
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||||
map.addControl(new OpenLayers.Control.MousePosition());
|
map.addControl(new OpenLayers.Control.MousePosition());
|
||||||
map.addControl(new OpenLayers.Control.KeyboardDefaults());
|
map.addControl(new OpenLayers.Control.KeyboardDefaults());
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue