Skip to main content

Interface: GeoVisMarkerProps

Defined in: ui/GeoVisMarker.tsx:11

Properties

children?

optional children?: ReactNode

Defined in: ui/GeoVisMarker.tsx:26

React content rendered inside the marker container. When provided, a div container is created and passed to maplibregl.Marker as the custom element. color and element props are ignored.


className?

optional className?: string

Defined in: ui/GeoVisMarker.tsx:28

CSS class applied to the React children wrapper inside the marker container.


color?

optional color?: string

Defined in: ui/GeoVisMarker.tsx:13

Marker accent colour passed to maplibregl.Marker. Only used when neither children nor element is provided.


element?

optional element?: HTMLElement

Defined in: ui/GeoVisMarker.tsx:18

Pre-existing HTML element used as the marker. When provided, color is ignored. Incompatible with children — if both are given, children wins.


offset?

optional offset?: [number, number]

Defined in: ui/GeoVisMarker.tsx:20

Pixel offset [x, y] applied to the marker position.