mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Update `TypeScript Version`s to be at least as high as dependencies' versions * Run through again
28 lines
922 B
TypeScript
28 lines
922 B
TypeScript
// Type definitions for leaflet-imageoverlay-rotated 0.1
|
|
// Project: https://github.com/IvanSanchez/Leaflet.ImageOverlay.Rotated
|
|
// Definitions by: Thomas Kleinke <https://github.com/tkleinke>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
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;
|
|
}
|
|
}
|