@types/leaflet.polylinemeasure
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/leaflet

Credits

These definitions were written by Rinat Sultanov.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/leaflet.polylinemeasure

Weekly Downloads

818

Version

1.0.4

License

MIT

Unpacked Size

5.36 kB

Total Files

5

Last publish

Collaborators

  • types