Annotation state containing markers and other annotation data. Set this to null to create a new annotation.
Optional
onCallback invoked when the annotation state changes.
Updated annotation state.
Optional
onCallback invoked when the selected marker changes.
Marker that was selected or created.
Optional
scaleWhether 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.