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
4 lines
311 B
TypeScript
4 lines
311 B
TypeScript
import type { LeafletEventHandlerFnMap, Map } from 'leaflet';
|
|
export declare function useMap(): Map;
|
|
export declare function useMapEvent<T extends keyof LeafletEventHandlerFnMap>(type: T, handler: LeafletEventHandlerFnMap[T]): Map;
|
|
export declare function useMapEvents(handlers: LeafletEventHandlerFnMap): Map;
|