Open Kyython opened 4 years ago
Exactly same problem im facing using it with pdf.js
I solved this issue, so you have to put this inside the promise when it renders the text layers thats when it should initialize the annotatorjs and fetch the annotation data and annotations will be shown while there is a gotcha if you are using or rendering multiple pages at the same time you have to somehow render the annotations when the last text layer is rendered and thats how annotations will be loaded when your document gets loaded. Hope this will help.
I use a pdf.js for displaying a pdf document. I needed to create annotations in this document, so I used your library of the latest version to implement my task.
I came across a problem that when there is a request to get annotations, they are not shown in the document. There are no errors or warnings. The incoming Json matches the one specified in the documentation. I do everything as specified in your documentation, but I can't understand what the problem is.
This is my connection script
This is my json that comes with a get query search
Any help would be welcome, thank you.