Interface: GeoVisMarkerProps
Defined in: ui/GeoVisMarker.tsx:11
Properties
children?
optionalchildren?: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?
optionalclassName?:string
Defined in: ui/GeoVisMarker.tsx:28
CSS class applied to the React children wrapper inside the marker container.
color?
optionalcolor?:string
Defined in: ui/GeoVisMarker.tsx:13
Marker accent colour passed to maplibregl.Marker. Only used when neither children nor element is provided.
element?
optionalelement?: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?
optionaloffset?: [number,number]
Defined in: ui/GeoVisMarker.tsx:20
Pixel offset [x, y] applied to the marker position.