From fbf8af2236dbd9736d49f866d23ce677b13bd1d2 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Fri, 27 Jan 2017 16:01:20 -0600 Subject: [PATCH] Don't show layerSwitcher on the map. We still want the functionality of it, but don't need the switcher panel currently --- public_html/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public_html/script.js b/public_html/script.js index fecfe9f..0dd8a53 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -542,8 +542,7 @@ function initialize_map() { controls: [new ol.control.Zoom(), new ol.control.Rotate(), new ol.control.Attribution({collapsed: true}), - new ol.control.ScaleLine({units: DisplayUnits}), - new ol.control.LayerSwitcher() + new ol.control.ScaleLine({units: DisplayUnits}) ], loadTilesWhileAnimating: true, loadTilesWhileInteracting: true