@lowswaplab/leaflet-control-chart
v2.0.1
Published
Leaflet Chart Control
Downloads
7
Readme
leaflet-control-chart
Leaflet Chart Control
leaflet-control-chart uses Plotly.js for data visualization.
NPM
This package is available on npm:
@lowswaplab/leaflet-control-chart
This package can be installed by performing:
npm install @lowswaplab/leaflet-control-chart
JavaScript
Example, with options (and defaults):
import "@lowswaplab/leaflet-control-chart";
L.control.chart(
{
isOpen: false, // start out open or closed?
iconOpen: "📊", // open icon UTF-8 0x1F4CA "Bar Chart"
iconClose: "✖", // close icon UTF-8 0x1F7A# "Heavy Multiplication X"
}).addTo(map);
Source Code
Contribution
If you find this software useful, please consider financial support for future development via PayPal.
Author
Copyright
Copyright © 2020 Low SWaP Lab lowswaplab.com