@lowswaplab/leaflet-reticle

1.1.0 • Public • Published

leaflet-reticle

Leaflet Reticle Plugin

NPM

This package is available on npm:

@lowswaplab/leaflet-reticle

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

leaflet-reticle

Contribution

If you find this software useful, please consider financial support for future development via PayPal.

Author

Low SWaP Lab

Copyright

Copyright © 2020 Low SWaP Lab lowswaplab.com

Package Sidebar

Install

npm i @lowswaplab/leaflet-reticle

Weekly Downloads

2

Version

1.1.0

License

SEE LICENSE IN LICENSE

Unpacked Size

39.4 kB

Total Files

5

Last publish

Collaborators

  • lowswaplab