你好,你可以添加控件ol.control.LayerSwitcher来实现图层的切换,参考示例:https://iclient.supermap.io/examples/openlayers/editor.html#controler_layerswitcher