@dossierhq/leaflet
Version:
A library for rendering maps in Dossier with Leaflet.
7 lines (6 loc) • 374 B
TypeScript
import { Icon } from 'leaflet';
import type { BoundingBox } from './CoreTypes.js';
import type { ZoomMetrics } from './Types.js';
export type MarkerColor = 'current' | 'default';
export declare function getMarkerIcon(color: MarkerColor | undefined): Icon;
export declare function expandBoundingBoxForMarkers(boundingBox: BoundingBox, zoomMetrics: ZoomMetrics): BoundingBox;