为了能够像这样在图层控件中包含图层:
L.control.layers(null, {
'Base layer': osm,
'dc.leaflet layer': ...
}, {
position: 'topright',
collapsed: true
}).addTo(map);
例如关闭气泡图的图层(所有气泡):dc_leaflet.bubbleChart()
为了能够像这样在图层控件中包含图层:
L.control.layers(null, {
'Base layer': osm,
'dc.leaflet layer': ...
}, {
position: 'topright',
collapsed: true
}).addTo(map);
例如关闭气泡图的图层(所有气泡):dc_leaflet.bubbleChart()