Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

leaflet.measurecontrol

Package Overview
Dependencies
1
Maintainers
2
Versions
2
Issues
File Explorer

Advanced tools

leaflet.measurecontrol

Leaflet control to mesure distances on the map.

    1.1.0latest
    Github

Version published
Maintainers
2
Weekly downloads
647
increased by4.35%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 05 Sep 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc