leaflet-reticle
Leaflet Reticle Plugin
NPM
This package is available on npm:
This package can be installed by performing:
npm install @lowswaplab/leaflet-reticle
JavaScript Example:
import "@lowswaplab/leaflet-reticle";
L.reticle().addTo(map);
Options:
L.reticle(
{
color: "#FFF", // text color
fontSize: "16pt", // text font size
text: "+", // text
textShadow: "-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000", // text shadow (outline)
zIndex: 1000 // reticle z-index
}).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