annotorious-v1 icon indicating copy to clipboard operation
annotorious-v1 copied to clipboard

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?

Open mingyaodagege opened this issue 6 years ago • 1 comments

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 avatar Mar 19 '19 05:03 mingyaodagege

TypeError: this.T.drawer is null

mingyaodagege avatar Mar 19 '19 06:03 mingyaodagege