1.0.4 • Published 7 months ago

@types/leaflet.polylinemeasure v1.0.4

Weekly downloads
39
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for leaflet.polylinemeasure 1.0
// Project: https://github.com/ppete2/Leaflet.PolylineMeasure#readme
// Definitions by: Rinat Sultanov <https://github.com/RiON69>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

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: Thu, 08 Jul 2021 16:23:39 GMT
  • Dependencies: @types/leaflet
  • Global values: none

Credits

These definitions were written by Rinat Sultanov.

1.0.2

9 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.1

3 years ago

1.0.0

7 years ago