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

0.1.5 • Public • Published

Installation

npm install --save @types/leaflet-curve

Summary

This package contains type definitions for leaflet-curve (https://github.com/onikiienko/Leaflet.curve).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/leaflet-curve.

index.d.ts

import * as L from "leaflet";

declare module "leaflet" {
    class Curve extends Path {
        /*
         * Return path
         */
        getPath(): Array<string | Array<[]>>;
        /*
         * Set path
         */
        setPath(): Curve;
        /*
         * Get bounds
         */
        getBounds(): LatLngBounds;
        /*
         * Get center
         */
        getCenter(): LatLng;
    }
    /*
     * Drawing Bezier curves and other complex shapes.
     */
    function curve(path: any[], options?: PathOptions): Curve;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/leaflet

Credits

These definitions were written by Onikiienko, and Andrea.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/leaflet-curve

Weekly Downloads

188

Version

0.1.5

License

MIT

Unpacked Size

3.95 kB

Total Files

5

Last publish

Collaborators

  • types