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
9 lines
540 B
TypeScript
9 lines
540 B
TypeScript
/// <reference types="react" />
|
|
import { type PathProps } from '@react-leaflet/core';
|
|
import type { GeoJsonObject } from 'geojson';
|
|
import { GeoJSON as LeafletGeoJSON, type GeoJSONOptions } from 'leaflet';
|
|
import type { LayerGroupProps } from './LayerGroup.js';
|
|
export interface GeoJSONProps extends GeoJSONOptions, LayerGroupProps, PathProps {
|
|
data: GeoJsonObject;
|
|
}
|
|
export declare const GeoJSON: import("react").ForwardRefExoticComponent<GeoJSONProps & import("react").RefAttributes<LeafletGeoJSON<any, import("geojson").Geometry>>>;
|