leaflet-webatlastile
Version:
Leaflet plugin to use Webatlas tilecache with correct attribution and apikey's. Requires only vanilla Leaflet.
14 lines (13 loc) • 530 B
TypeScript
import L from 'leaflet';
import { WebatlasTileLayerOptions } from './types';
import { WebatlasTileLayerTypes } from './constants/layerTypes';
export declare class WebatlasTileLayer extends L.TileLayer {
private attributionPosition;
private attributionText;
constructor(options: WebatlasTileLayerOptions);
onAdd(map: L.Map): this;
onRemove(map: L.Map): this;
_onMapMoved(): void;
}
export declare const webatlasTileLayer: (options: any) => WebatlasTileLayer;
export { WebatlasTileLayerTypes };