New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

leaflet.measurecontrol

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet.measurecontrol

Leaflet control to mesure distances on the map.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
437
increased by0.69%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 05 Sep 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc