HistomicsUI icon indicating copy to clipboard operation
HistomicsUI copied to clipboard

Allow annotations to be viewed with OpenSeadragon

Open dgutman opened this issue 3 years ago • 1 comments

Currently we can view annotations only using the GeoJS plugin. I'd like to also allow openseadragon to be the base tileviewer with a GeoJS layer superimposed/bound. Basically looks like we need to add a div for GeoJS to live in, and then make sure we bind the OSD zoom/pan events with the GeoJS layer.

I've done this before in other apps... some code snippets here:

https://github.com/dgutman/webix_image_organizer/blob/70e406186d534219afc8cb870bd0291ea8d9aba8/sources/views/subviews/gallery/windows/imageWindow/imageTemplateEventService.js

And probably a bit easier to follow in here:

https://github.com/dgutman/dsa_tcga_webix_app/blob/8f383d7aba257b9b78adc8b7077eebd7037d8009/DSAForDeploying/sources/views/imageTemplate.js

https://github.com/dgutman/dsa_tcga_webix_app/blob/8f383d7aba257b9b78adc8b7077eebd7037d8009/DSAForDeploying/sources/styles/app.css

dgutman avatar Mar 04 '22 15:03 dgutman

This is probably easier than fixing the GEO js viewer.

cooperlab avatar Mar 04 '22 15:03 cooperlab