1 | import { TileLayer } from 'leaflet';
|
2 | export declare class LeafletTileLayerDefinition {
|
3 | type: string;
|
4 | url: string;
|
5 | options: any;
|
6 | constructor(type: string, url: string, options: any);
|
7 | /**
|
8 | * Creates a TileLayer from the provided definition. This is a convenience function
|
9 | * to help with generating layers from objects.
|
10 | *
|
11 | * @param layerDef The layer to create
|
12 | * @returns {TileLayer} The TileLayer that has been created
|
13 | */
|
14 | static createTileLayer(layerDef: LeafletTileLayerDefinition): TileLayer;
|
15 | |
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | static createTileLayers(layerDefs: {
|
23 | [key: string]: LeafletTileLayerDefinition;
|
24 | }): {
|
25 | [key: string]: TileLayer;
|
26 | };
|
27 | |
28 |
|
29 |
|
30 |
|
31 |
|
32 | createTileLayer(): TileLayer;
|
33 | }
|