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:
James Wilson 2017-01-27 16:01:20 -06:00
parent ee23816428
commit fbf8af2236

View file

@ -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