Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

My annotation method doesn't work. I can use anno. activateSelector (); method to create, but anno. addAnnotation method does not work, so what should I do? #209

Open
mingyaodagege opened this issue Mar 19, 2019 · 1 comment

Comments

@mingyaodagege
Copy link

mingyaodagege commented Mar 19, 2019

I wanted to save my annotations in the database and automatically create them through anno. addAnnotation when loading them, but I didn't succeed. I don't know how to define the attributes of'src'. I did it on the basis of openseadragon. Thank you

        anno.addAnnotation({
          src: 'dzi://openseadragon/something',
          text: 'My annotation',
           shapes: [{
           type: 'rect',
            geometry: { x: 0.8, y: 0.8, width: 0.2, height: 0.2 }
           }]
        });

TypeError: this.T.drawer is null

@mingyaodagege
Copy link
Author

TypeError: this.T.drawer is null

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant