maptalks.control.Layers Layer switcher control for maptalks.js Usage const layers = [new maptalks.VectorLayer('v1')]const control = new maptalks.control.Layers(layers)map.addControl(control)