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
557 B
TypeScript
8 lines
557 B
TypeScript
import { type PathProps } from '@react-leaflet/core';
|
|
import { type LatLngExpression, Polyline as LeafletPolyline, type PolylineOptions } from 'leaflet';
|
|
import type { ReactNode } from 'react';
|
|
export interface PolylineProps extends PolylineOptions, PathProps {
|
|
children?: ReactNode;
|
|
positions: LatLngExpression[] | LatLngExpression[][];
|
|
}
|
|
export declare const Polyline: import("react").ForwardRefExoticComponent<PolylineProps & import("react").RefAttributes<LeafletPolyline<import("geojson").LineString | import("geojson").MultiLineString, any>>>;
|