-
I'm looking for a way to update the style of an annotation (redraw an annotation). Now it is possible to write your own style function and use some state known outside of Annotorious, but I don't know how to redraw/update one or multiple annotations when that state changes. There is an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If you replace the style function, that would trigger a redraw. Or you could remove and re-add the annotation if you are worried about redraw performance. |
Beta Was this translation helpful? Give feedback.
If you replace the style function, that would trigger a redraw. Or you could remove and re-add the annotation if you are worried about redraw performance.