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
8 lines
455 B
TypeScript
8 lines
455 B
TypeScript
import { type EventedProps } from '@react-leaflet/core';
|
|
import { type LatLngExpression, Marker as LeafletMarker, type MarkerOptions } from 'leaflet';
|
|
import type { ReactNode } from 'react';
|
|
export interface MarkerProps extends MarkerOptions, EventedProps {
|
|
children?: ReactNode;
|
|
position: LatLngExpression;
|
|
}
|
|
export declare const Marker: import("react").ForwardRefExoticComponent<MarkerProps & import("react").RefAttributes<LeafletMarker<any>>>;
|