lmtm-Leaflet.MeasureControl

Leaflet control to mesure distances on the map


License
BSD-3-Clause
Install
bower install lmtm-Leaflet.MeasureControl

Documentation

Leaflet.MeasureControl

Leaflet control to mesure distances on the map.

Requires Leaflet.Draw

Check out the demo

Usage

As map option :


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

Or like any control :


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

Authors

  • Gilles Bassière

Makina Corpus