You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New API method .getImageSnippetById(annotationId) that returns
a DOM Canvas element with the given annotation's image snippet
a coordinate transform function that translates X/Y coordinates in the snippet coordinate space back to the coordinate space of the full image
New formatters init config parameter that allows setting a single formatter function as well as an array of formatters. The oldformatteroption is still available, but deprecated! (#159)
New formatters instance field that allows dynamic adding/removing of formatter functions (#159)
Bugfixes
Fixed a bug that caused formatter elements (e.g. labels added through the ShapeLabels plugin to be scaled down from their desired size when the image is resized
Fixed a regression bug that broke getSelectedImageSnippet
Calling .addAnnotation no longer breaks the current active selection, if any
Improved handling of lazy-loaded images, including support for lazy-loading annotations that use percent-encoded Fragment Selectors.