Const
Renders a crosshair when the map is focused with the keyboard so the user can click on the map.
Memoized because the single prop is a stable DOM element reference that maintains identity across parent renders.
Crosshair properties containing the map target element
The crosshair component, or null if inactive
Renders a crosshair when the map is focused with the keyboard so the user can click on the map.
Memoized because the single prop is a stable DOM element reference that maintains identity across parent renders.