Skip to main content

SelectionMarker

A ring around the point whose card is open, so the card and the map agree on which one it is. Render it inside MapOverlayLayer; like every overlay it is a picture of state the card already gives in words.

This is a function exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import { SelectionMarker } from "@mapcairn/map";

function SelectionMarker(input: SelectionMarkerProps): JSX.Element | null;

Parameters​

  • { layers }
  • input (SelectionMarkerProps)

Returns​

JSX.Element | null

See also​

Source: packages/map/src/layers/MapDataLayers.tsx:417