<commit_before>Leaflet.MeasureControl
======================

Leaflet control to mesure distances on the map.

Requires [Leaflet.Draw](https://github.com/leaflet/Leaflet.Draw#readme)

Check out the [demo](http://makinacorpus.github.io/Leaflet.MeasureControl/)

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

* <NAME>
* <NAME>

[![Makina Corpus](http://depot.makina-corpus.org/public/logo.gif)](http://makinacorpus.com)<commit_msg>Lint README file and add languages to code blocks<commit_after>Leaflet.MeasureControl
======================

Leaflet control to mesure distances on the map.

Requires [Leaflet.Draw](https://github.com/leaflet/Leaflet.Draw#readme)

Check out the [demo](http://makinacorpus.github.io/Leaflet.MeasureControl/)

Install
-------

```shell
npm install leaflet.measurecontrol
```

Usage
-----

As map option:

```js
var map = L.map('map', { measureControl:true });
```

Or like any control:

```js
L.Control.measureControl().addTo(map);
```

Development
-----------

```shell
npm install      # install dependencies
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
-------

* <NAME>
* <NAME>

[![Makina Corpus](http://depot.makina-corpus.org/public/logo.gif)](http://makinacorpus.com)
{'fraction_non_alphanumeric': 0.19098712446351931, 'fraction_numerical': 0.006437768240343348, 'mean_word_length': 3.627791563275434, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5335449', 'n_tokens_mistral': 675, 'n_tokens_neox': 620, 'n_words': 157}