1.0.5 • Published 7 months ago

@types/leaflet-rastercoords v1.0.5

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

Installation

npm install --save @types/leaflet-rastercoords

Summary

This package contains type definitions for leaflet-rastercoords (https://github.com/commenthol/leaflet-rastercoords).

Details

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

index.d.ts

// Type definitions for leaflet-rastercoords 1.0
// Project: https://github.com/commenthol/leaflet-rastercoords
// Definitions by: Kan Cheung <https://github.com/chinkan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import { Map, LatLng, Point, LatLngExpression, PointExpression, LatLngBounds } from 'leaflet';

declare module 'leaflet' {
    class RasterCoords {
        constructor(map: Map, imgsize: number[], tilesize?: number);

        zoomLevel(): number;
        unproject(coords: PointExpression): LatLng;
        project(coords: LatLngExpression): Point;
        getMaxBounds(): LatLngBounds;
        setMaxBounds(): void;
    }
}

Additional Details

  • Last updated: Mon, 22 Nov 2021 21:31:04 GMT
  • Dependencies: @types/leaflet
  • Global values: none

Credits

These definitions were written by Kan Cheung.

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

9 months ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

5 years ago