MarkerStyle
How one feature is drawn, worked out from its definition's style.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { MarkerStyle } from "@mapcairn/core";
interface MarkerStyle
Properties
colour
readonly colour: PaletteSlot;
The palette slot the marker is filled with.
label
readonly label: DefinitionText;
The words for the colour, such as Orange alert, for the list and card,
as the definition writes them: a message key, a host text or a plain
string, which resolveText turns into text in the active language.
radius
readonly radius: number;
The marker's radius in CSS pixels.
shape
readonly shape: MarkerShape;
The marker's shape.