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