Add Leaflet and react-leaflet dependencies for interactive map functionality Extend DDDepot type with optional latitude/longitude fields for map markers Update site metadata and admin settings page text Add client-side DepotMap component to render depot locations Update PocketBase admin token in environment configuration
6 lines
346 B
TypeScript
6 lines
346 B
TypeScript
import type { Evented, LeafletEventHandlerFnMap } from 'leaflet';
|
|
import type { LeafletElement } from './element.js';
|
|
export declare type EventedProps = {
|
|
eventHandlers?: LeafletEventHandlerFnMap;
|
|
};
|
|
export declare function useEventHandlers(element: LeafletElement<Evented>, eventHandlers: LeafletEventHandlerFnMap | null | undefined): void;
|