Annotation state containing markers and other annotation data. Set this to null to create a new annotation.
OptionalonCallback invoked when the annotation state changes.
Updated annotation state.
OptionalonCallback invoked when the selected marker changes.
Marker that was selected or created.
OptionalscaleWhether to scale the stroke width of markers based on zoom level. Defaults to true.
Source of the target image to annotate.
Props for the MarkerArea component.