leaflet.measurecontrol
v1.1.0
Published
Leaflet control to mesure distances on the map.
Downloads
1,827
Readme
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