UNPKG

leaflet-webatlastile

Version:

Leaflet plugin to use Webatlas tilecache with correct attribution and apikey's. Requires only vanilla Leaflet.

15 lines (14 loc) 342 B
import { ControlPosition } from 'leaflet'; export interface Tileset { tileset: string; ext: string; } export interface TilesetList { [key: string]: Tileset; } export interface WebatlasTileLayerOptions { mapType: string; apiKey: string; attributionPosition?: ControlPosition; tileset?: TilesetList; }