npm.io
1.0.5 • Published 1 year ago

@types/leaflet.polylinemeasure

Licence
MIT
Version
1.0.5
Deps
1
Size
5 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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 0848 GMT
  • Dependencies: @types/leaflet

Credits

These definitions were written by Rinat Sultanov.