Socket
Socket
Sign inDemoInstall

leaflet.measurecontrol

Package Overview
Dependencies
2
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    leaflet.measurecontrol

Leaflet control to mesure distances on the map.


Version published
Weekly downloads
426
decreased by-27.3%
Maintainers
2
Install size
1.64 MB
Created
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 for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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