Dismiss annotation using API


(Masonnugent) #1

I'm loading the model using the viewer api, and displaying additional content (with annotationFocus) when someone activates an annotation. We would like to have a dismiss button on the overlay which would hide the additional information, but would like it to also dismiss the active annotation. Is there a way to do this through the API?


I don't think we have a method to do this at the moment ( @mauricesvay ?) , but it's a good idea! We'll take this feedback into account when improving the Viewer API.

(Mauricesvay) #3

We don't have this api function at the moment. We'll consider it when we add new functions to the viewer api.