mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
21 lines
543 B
TypeScript
21 lines
543 B
TypeScript
// Type definitions for mapbox-gl-leaflet 0.0
|
|
// Project: https://github.com/brunob/leaflet.fullscreen
|
|
// Definitions by: Alexey Gorshkov <https://github.com/agorshkov23>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
import * as L from 'leaflet';
|
|
|
|
declare module 'leaflet' {
|
|
class MapboxGL extends Layer {
|
|
constructor(options: MapboxGLOptions);
|
|
}
|
|
|
|
function mapboxGL(options: MapboxGLOptions): MapboxGL;
|
|
|
|
interface MapboxGLOptions {
|
|
accessToken: string;
|
|
style: string;
|
|
}
|
|
}
|