Initiates marker creation with the specified type and parameters.
Type of the marker to create.
Optional
params: Partial<MarkerBaseState>Optional initial parameters for the marker.
Deletes the currently selected marker. If no marker is selected, this method does nothing.
Switches the MarkerArea to "select" mode. In this mode, users can select and edit existing markers.
Represents the public API for the MarkerArea component. Exposes methods to create markers, switch modes, and delete selected markers.