@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
25 lines (24 loc) • 625 B
TypeScript
import 'ol/ol.css';
import { Map } from 'ol';
import type { MTAnimationOptions } from '../../../ts';
import type { Snippet } from 'svelte';
interface Props {
class?: string;
mapId?: string;
startCoordinates?: {
lat: number;
long: number;
};
startZoom?: number;
goToMapSkipLinkText?: string;
enableRotation?: boolean;
extent?: number[];
children?: Snippet;
extra?: Snippet;
}
declare const Map: import("svelte").Component<Props, {
resetZoom: () => void;
zoom: (options: MTAnimationOptions) => void;
}, "">;
type Map = ReturnType<typeof Map>;
export default Map;