leaflet.measurecontrol

1.1.0 • Public • Published

Leaflet.MeasureControl

Leaflet control to mesure distances on the map.

Requires Leaflet.Draw

Check out the demo

Install

npm install leaflet.measurecontrol

Usage

As map option :


var map = L.map('map', {measureControl:true});

Or like any control :


L.Control.measureControl().addTo(map);

Développement

npm install      # install dependancies
npm run release  # minify js and copy sources in docs (example)

Changelog

1.1.0

  • Add npm support
  • Add support for AMD and CommonJS loading
  • Set example in docs folder

1.0.0

  • Initial version

Authors

  • Gilles Bassière
  • Alexandra Janin

Makina Corpus

Readme

Keywords

Package Sidebar

Install

npm i leaflet.measurecontrol

Weekly Downloads

340

Version

1.1.0

License

MIT

Last publish

Collaborators

  • lellex
  • makinacorpus