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
473 B
TypeScript
8 lines
473 B
TypeScript
import { type PathProps } from '@react-leaflet/core';
|
|
import { type LatLngBoundsExpression, Rectangle as LeafletRectangle, type PathOptions } from 'leaflet';
|
|
import type { ReactNode } from 'react';
|
|
export interface RectangleProps extends PathOptions, PathProps {
|
|
bounds: LatLngBoundsExpression;
|
|
children?: ReactNode;
|
|
}
|
|
export declare const Rectangle: import("react").ForwardRefExoticComponent<RectangleProps & import("react").RefAttributes<LeafletRectangle<any>>>;
|