1.1.0 • Published 8 years ago

leaflet.measurecontrol v1.1.0

Weekly downloads
277
License
MIT
Repository
github
Last release
8 years ago

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

1.1.0

8 years ago

1.0.0

8 years ago