MapMarkerFactory
MapMarkerFactory: ((component: JSX.Element, callback: ((name: string) => void), image: Leaflet.Icon) => JSX.Element)
Type declaration
- (component: JSX.Element, callback: ((name: string) => void), image: Leaflet.Icon): JSX.Element
Parameters
component: JSX.Element
callback: ((name: string) => void)
image: Leaflet.Icon
Returns JSX.Element
A component for displaying a Leaflet map and markers for popups for locations where weather data is being tracked.