jatui

AnnotationLayer

Absolute-positioned pin overlay for placing and clicking annotation markers on images

Annotation layer

Demo landscape

Props

PropTypeDefaultDescription
annotationsAnnotation[][]Pins to render
activeAnnotationIdstring | nullnullHighlighted pin
annotationModebooleanfalseCrosshair cursor + click-to-place
showResolvedbooleanfalseShow resolved annotations
onAnnotationClick(a: Annotation) => voidPin click handler
onImageClick(x, y) => voidClick in annotation mode (% coords)