Don't show layerSwitcher on the map. We still want the functionality of it, but don't need the switcher panel currently
This commit is contained in:
parent
ee23816428
commit
fbf8af2236
|
@ -542,8 +542,7 @@ function initialize_map() {
|
||||||
controls: [new ol.control.Zoom(),
|
controls: [new ol.control.Zoom(),
|
||||||
new ol.control.Rotate(),
|
new ol.control.Rotate(),
|
||||||
new ol.control.Attribution({collapsed: true}),
|
new ol.control.Attribution({collapsed: true}),
|
||||||
new ol.control.ScaleLine({units: DisplayUnits}),
|
new ol.control.ScaleLine({units: DisplayUnits})
|
||||||
new ol.control.LayerSwitcher()
|
|
||||||
],
|
],
|
||||||
loadTilesWhileAnimating: true,
|
loadTilesWhileAnimating: true,
|
||||||
loadTilesWhileInteracting: true
|
loadTilesWhileInteracting: true
|
||||||
|
|
Loading…
Reference in a new issue