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

0.1.7 • Public • Published

Installation

npm install --save @types/leaflet-imageoverlay-rotated

Summary

This package contains type definitions for leaflet-imageoverlay-rotated (https://github.com/IvanSanchez/Leaflet.ImageOverlay.Rotated).

Details

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

index.d.ts

import * as L from "leaflet";

declare module "leaflet" {
    namespace ImageOverlay {
        interface Rotated extends ImageOverlay {
            reposition(
                topleft: LatLngExpression,
                topright: LatLngExpression,
                bottomleft: LatLngExpression,
            ): void;
        }
    }

    namespace imageOverlay {
        function rotated(
            imgSrc: string | HTMLImageElement | HTMLCanvasElement,
            topleft: LatLngExpression,
            topright: LatLngExpression,
            bottomleft: LatLngExpression,
            options?: ImageOverlayOptions,
        ): ImageOverlay.Rotated;
    }
}

Additional Details

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

Credits

These definitions were written by Thomas Kleinke.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/leaflet-imageoverlay-rotated

Weekly Downloads

1,091

Version

0.1.7

License

MIT

Unpacked Size

4.12 kB

Total Files

5

Last publish

Collaborators

  • types