UNPKG

@adamscybot/react-leaflet-component-marker

Version:

A tiny wrapper for react-leaflet's <Marker /> component that allows you to use a React component as a marker, with working state, handlers, and access to parent contexts.

3 lines (2 loc) 172 B
import { type PointTuple, type PointExpression } from 'leaflet'; export declare const useCoordsFromPointExpression: (expression?: PointExpression) => PointTuple | never[];