# @types/leaflet.polylinemeasure

> TypeScript definitions for leaflet.polylinemeasure

Latest version **1.0.5** (published 2025-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/leaflet.polylinemeasure
pnpm add @types/leaflet.polylinemeasure
yarn add @types/leaflet.polylinemeasure
bun add @types/leaflet.polylinemeasure
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2025-09-03 |
| First published | 2017-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51372 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/leaflet.polylinemeasure
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.polylinemeasure
- npm.io page: https://npm.io/package/@types/leaflet.polylinemeasure

## Dependencies (1)

- [@types/leaflet](https://npm.io/package/@types/leaflet.md) ^1.9

## Recent versions

- 1.0.5 (latest) — 2025-09-03
- 1.0.4 (ts4.5) — 2023-11-07
- 1.0.2 (ts4.3) — 2023-08-30
- 1.0.1 (ts3.6) — 2021-07-08
- 1.0.0 (ts2.3) — 2017-11-11
- 1.0.3 — 2023-10-18

## README

# Installation
> `npm install --save @types/leaflet.polylinemeasure`

# Summary
This package contains type definitions for leaflet.polylinemeasure (https://github.com/ppete2/Leaflet.PolylineMeasure#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.polylinemeasure.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet.polylinemeasure/index.d.ts)
````ts
import * as L from "leaflet";

declare module "leaflet" {
    namespace Control {
        interface PolylineMeasure extends Control {
            new(options?: PolylineMeasureOptions): any;
        }

        interface PolylineMeasureOptions {
            position?: string | undefined;
            unit?: string | undefined;
            measureControlTitleOn?: string | undefined;
            measureControlTitleOff?: string | undefined;
            measureControlLabel?: string | undefined;
            measureControlClasses?: any[] | undefined;
            backgroundColor?: string | undefined;
            cursor?: string | undefined;
            clearMeasurementsOnStop?: boolean | undefined;
            showMeasurementsClearControl?: boolean | undefined;
            clearControlTitle?: string | undefined;
            clearControlLabel?: string | undefined;
            clearControlClasses?: any[] | undefined;
            showUnitControl?: boolean | undefined;
            tempLine?: any;
            fixedLine?: any;
            startCircle?: any;
            intermedCircle?: any;
            currentCircle?: any;
            endCircle?: any;
        }
    }

    namespace control {
        function polylineMeasure(options?: Control.PolylineMeasureOptions): Control.PolylineMeasure;
    }
}

````

### Additional Details
 * Last updated: Wed, 03 Sep 2025 08:02:48 GMT
 * Dependencies: [@types/leaflet](https://npmjs.com/package/@types/leaflet)

# Credits
These definitions were written by [Rinat Sultanov](https://github.com/RiON69).

---
_Source: https://npm.io/package/@types/leaflet.polylinemeasure · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
