You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included Annotorious Toolbar,Annotorious Selector Pack and it works as expected.
I have crop functionality also wherein I am using OpenSeadragon.MouseTracker,OpenSeadragon.Rect to get the croped area.
With the inclusion of the Annotorious plugins now I am not able to select the data using OpenSeadragon functions.
I have tried to use anno.setDrawingEnabled(true); on click of crop button. However it is not working. Am I missing somethging here?
Mine openseadragon version is 2.4.2 and Annotorious version 2.6.0.
The OpenSeadragon version is pretty old. There's been a lot of enhancements to make event handling easier for things like annotations but I don't know what OSD version the plugin supports or how the plugin handles events
@vivsamcom I suppose you could. You'll need to figure out how you want to display that line. OSD does its drawing on canvas, so you can use canvas's drawing commands after each OSD frame, if you want to. As for tracking the user drawing the line, you'll need to use OSD's drag events and also turn off the built-in panning.
Those are a lot of the things the various annotation and overlay plugins do, so you could look at their code for inspiration.
I assume you want to do this because the existing plugins don't do what you want? If I was in that situation, I would probably still use one of overlay plugins, like SVG or canvas, just to make the drawing easier.
Hi,
I have included Annotorious Toolbar,Annotorious Selector Pack and it works as expected.
I have crop functionality also wherein I am using OpenSeadragon.MouseTracker,OpenSeadragon.Rect to get the croped area.
With the inclusion of the Annotorious plugins now I am not able to select the data using OpenSeadragon functions.
I have tried to use anno.setDrawingEnabled(true); on click of crop button. However it is not working. Am I missing somethging here?
Mine openseadragon version is 2.4.2 and Annotorious version 2.6.0.
Asked the question in annotorious-openseadragon forum as well.
annotorious/annotorious-openseadragon#158
Thanks
The text was updated successfully, but these errors were encountered: