SkillAgentSearch skills...

Leaflet.MeasureControl

Leaflet control to mesure distances on the map

Install / Use

/learn @makinacorpus/Leaflet.MeasureControl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<a href="https://www.npmjs.com/package/leaflet.measurecontrol"><img alt="npm" src="https://img.shields.io/npm/dt/leaflet.measurecontrol"></a> <a href="https://www.npmjs.com/package/leaflet.measurecontrol"><img alt="npm" src= "https://img.shields.io/npm/v/leaflet.measurecontrol?color=red"></a>

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);

Development

npm install      # install dependencies
npm run release  # minify js and copy sources in docs (example)

Changelog

See CHANGELOG.md.

Authors

  • Gilles Bassière
  • Alexandra Janin

Makina Corpus

Related Skills

View on GitHub
GitHub Stars82
CategoryDevelopment
Updated7mo ago
Forks48

Languages

JavaScript

Security Score

87/100

Audited on Aug 17, 2025

No findings