annotorious / annotorious-v1

Project has moved to http://github.com/annotorious/annotorious
https://annotorious.com
MIT License
593 stars 142 forks source link

anno.activateSelector question #186

Closed apricea4 closed 7 years ago

apricea4 commented 7 years ago

I am combining OpenSeadragon with annotorious and am in the beginning stages of just trying to get anno.activateSelector to work. I have followed other peoples code and the examples and when I call anno.activateSelector I can still pan the image around. From what I understand once that call is made, I should not be able to pan the image anymore until the annotating is finished. Am I on the right path with this assumption? I have the js file added as well as the dark.css. Where make the viewer annotatable...

annotoriousosd

and my button onclick

anno activateselector

Has anyone else combined these two and met with the same obstacle?

Thank you.

apricea4 commented 7 years ago

Solution: add openseadragon- to the beginning of your id for your viewer and the tag it is related to.