Interface: GeoVisMarkerProps
Defined in: ui/GeoVisMarker.tsx:12
Properties
children?
optionalchildren?:ReactNode
Defined in: ui/GeoVisMarker.tsx:30
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:32
CSS class applied to the React children wrapper inside the marker container.
color?
optionalcolor?:string
Defined in: ui/GeoVisMarker.tsx:17
Colour of geovis's pin, drawn when neither children nor element is
provided. Default: '#3FB1CE'.
element?
optionalelement?:HTMLElement
Defined in: ui/GeoVisMarker.tsx:22
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:24
Pixel offset [x, y] applied to the marker position.