Determine what annotations are shown based on filter setting

Hi there,

We don’t have a programmatic way to clear the filters on the notesPanel, but this can be added as a feature request to the backlog for the product team to review and prioritize.

As for the code snippet above, you can take advantage of hide/showAnnotations API to clear them from the canvas similar to this forum post:

Best regards,
Kevin Kim