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) 153 B
export const logString = (str) => `[react-leaflet-component-marker] ${str}`; export const logCodedString = (code, str) => logString(`[${code}] ${str}`);