@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
10 lines (9 loc) • 570 B
TypeScript
import type Map from 'ol/Map';
import TileLayer from 'ol/layer/Tile';
import WMTS from 'ol/source/WMTS';
import type { MTAnimationOptions, MTCoordinates, MTPopupOptions } from '../../../ts/types';
import { type Coordinate } from 'ol/coordinate';
export declare function toOLCoordinates(coordinate: MTCoordinates): Coordinate;
export declare function addListeners(map: Map, popupOptions: Array<MTPopupOptions>): void;
export declare function zoomPopup(map: Map, options: MTAnimationOptions): void;
export declare function createTileLayer(layer: string): TileLayer<WMTS>;