UNPKG

@open-formulieren/leaflet-tools

Version:

Shared utilities for Leaflet maps and Dutch (NL) geo standards

22 lines (21 loc) 892 B
type BackgroundLayerVariant = 'standaard' | 'grijs' | 'pastel' | 'water'; type Projection = 'EPSG:28992' | 'EPSG:25831' | 'EPSG:3857'; export declare const buildTileLayerEndpoint: (variant?: BackgroundLayerVariant, projection?: Projection) => string; /** * A pre-configured tile layer for the Rijksdriehoek (RD) projection (EPSG:28992). * * This used the standard tile layer with attribution enabled, while limiting the zoom * level between 1 and 13. * * @note * * Increasing the zoom level is *possible*, but the inaccuracies of the proj4 * transformation start to show beyond zoom level 13. */ export declare const TILE_LAYER_RD: { url: string; minZoom: number; maxZoom: number; attribution: "\n Kaartgegevens &copy;\n <a href=\"https://www.kadaster.nl\">Kadaster</a> |\n <a href=\"https://www.verbeterdekaart.nl\">Verbeter de kaart</a>\n"; }; export {};