Props
Shape
SymbolType
default:"circle"
The type of symbol to render. Options:
'circle'- Circle'cross'- Cross/plus sign'diamond'- Diamond'square'- Square'star'- Five-pointed star'triangle'- Triangle'wye'- Y-shape
Positioning
number
The x-coordinate of the symbol center in pixels.
number
The y-coordinate of the symbol center in pixels.
Size
number
default:"64"
The size of the symbol. The meaning depends on the
sizeType prop.'area' | 'diameter'
default:"area"
How to interpret the
size prop:'area'- Size represents the area in square pixels'diameter'- Size represents the diameter/width in pixels
Appearance
string
CSS class name to apply to the symbol element.
SVG properties
This component accepts all standard SVG path element properties including:fill- Fill colorstroke- Stroke colorstrokeWidth- Stroke widthopacity- Opacity valuestyle- Inline styles