Skip to navigation

Annotate fields

Referenced In

Fields

FieldTypeDescriptionDefault
addarray of unknownOptional. Annotations to draw. Give an annotation an id to update or clear it later.—
updatearray of unknownOptional. Changes to annotations that are already on screen, matched by id. Each entry replaces the annotation with that id.—
clearone of:
- boolean
- array of string
Optional. Annotations to remove. true clears every annotation; a list of ids clears just those.—

Examples

{
"add": [],
"update": [],
"clear": true
}