manifesto icon indicating copy to clipboard operation
manifesto copied to clipboard

Canvasworld

Open edsilv opened this issue 4 years ago • 3 comments

Created CanvasWorld.ts

  • use types for ViewingDirection, added OA_CHOICE to @iiif/vocabulary
  • added normalize-url. Can we use that instead of Utils.normaliseUrl ?

Added imageResources, aspectRatio, onFragment, resourceAnnotation, resourceAnnotations to Canvas.ts

  • shall we make all methods getters in manifesto now?
  • added lodash flatten and flattenDeep deps
  • shall we aim for parity with MiradorCanvas so Mirador can just use Canvas?

edsilv avatar Dec 07 '20 16:12 edsilv

Just as a heads up, I wanted to call out some issues that @jbaiter noticed and is still in progress on working on. https://github.com/ProjectMirador/mirador/pull/3356

These only come up in multi-canvas views with scaled pages having annotations.

mejackreed avatar Dec 07 '20 22:12 mejackreed

I'm publishing 4.3.0-pre-0 - if I install it locally to test using the github namespace the UV project can't resolve it :-(

edsilv avatar Dec 08 '20 11:12 edsilv

I don't think you can use the github namespace if it's not built. You can use npm link in manifesto.js and then npm link manifesto.js in the UV to test locally.

stephenwf avatar Dec 08 '20 17:12 stephenwf