@types/leaflet-deepzoom
@types/leaflet-deepzoom
npm i @types/leaflet-deepzoom
@types/leaflet-deepzoom

@types/leaflet-deepzoom

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

2.0.1 (see all)License:MITTypeScript:Built-In
npm i @types/leaflet-deepzoom
Readme

Installation

npm install --save @types/leaflet-deepzoom

Summary

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

Details

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

index.d.ts

// Type definitions for leaflet-deepzoom 2.0
// Project: https://github.com/alfarisi/leaflet-deepzoom/
// Definitions by: Håkon Løvdal <https://github.com/hlovdal>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import * as L from 'leaflet';

declare module 'leaflet' {
    namespace TileLayer {
        interface DeepZoomOptions {
            width?: number | undefined;
            height?: number | undefined;
            imageFormat?: string | undefined;
            tileSize?: number | undefined;
            maxZoom?: number | undefined;
        }

        class DeepZoom extends TileLayer {
            constructor(urlTemplate: string, options?: DeepZoomOptions);
            // getTileUrl(tilePoint: Coords): string;
        }
    }

    namespace tileLayer {
        function deepzoom(urlTemplate: string, options?: TileLayer.DeepZoomOptions): TileLayer.DeepZoom;
    }
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 16:23:33 GMT
  • Dependencies: @types/leaflet
  • Global values: none

Credits

These definitions were written by Håkon Løvdal.

Downloads/wk

1

GitHub Stars

40.9K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

635

OPEN PRs

200
VersionTagPublished
2.0.1
latest
1yr ago
2.0.1
ts4.7
1yr ago
2.0.1
ts4.6
1yr ago
2.0.1
ts4.8
1yr ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate