maptalks.layers
v0.1.1
Published
Layer switcher control for maptalks.js
Downloads
4
Readme
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)