Creates a new OSNAP marker instance.
Shape type of the marker (circle, triangle, rect)
Size of the marker (width/height in px; triangle uses font-size)
Marker color (CSS color string)
Host container where marker DOM is mounted and positioned
Gets the current marker color.
Sets marker color and updates DOM immediately.
Gets the current marker type.
Represents a single marker displayed in screen coordinates.
A marker is a small shape (circle, triangle, or rectangle) rendered using DOM elements. Its appearance is determined by type, size, and color.
The marker: