AnatomicMaps / flatmap-viewer

0 stars 7 forks source link

Added new annotator callbacks and functions #26

Closed ddjnw1yu closed 3 months ago

ddjnw1yu commented 4 months ago

Three main things are added:

  1. Added selectionChanged callback to check if any feature is selected.
  2. Added changeAnnotationDrawMode to force change the Draw mode. Which provides the edit/delete mode for the annotator.
  3. Added trashAnnotationFeature function to fire changeAnnotationDrawMode function when the mode is '*_select'.