All Projects → makinacorpus → Leaflet.measurecontrol

makinacorpus / Leaflet.measurecontrol

Licence: bsd-3-clause
Leaflet control to mesure distances on the map

Programming Languages

javascript
184084 projects - #8 most used programming language

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);

Development

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

Changelog

See CHANGELOG.md.

Authors

  • Gilles Bassière
  • Alexandra Janin

Makina Corpus

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].