Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marlo-longley/mirador-annotorious
https://github.com/marlo-longley/mirador-annotorious
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marlo-longley/mirador-annotorious
- Owner: marlo-longley
- Created: 2024-11-06T21:43:35.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T21:57:17.000Z (about 2 months ago)
- Last Synced: 2024-11-06T22:34:40.039Z (about 2 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Very much a Work In Progress / test!
To run locally:
`rm -rf .parcel-cache && npm install && npm start`The parcel cache was playing tricks on me so watch out.
@annotorious/react node_module was modified to export `OpenSeadragonAnnotatorContext`
This change is in Github main now, but not released yet
https://github.com/annotorious/annotorious/blob/main/packages/annotorious-react/src/openseadragon/index.ts#L3I cloned the @annotorious/react plugin in a separete directory from Github, added the line, and ran `npm pack`.
Then, I could include the following in `package.json`:
```
"@annotorious/react": "file:../annotorious/packages/annotorious-react/annotorious-react-3.0.11.tgz",
```You will end up with a viewer, and if you double click, you can begin to draw a polygon (the default annotorious tool). You can finish the drawing with another double click.
You will see this:Inspired by https://github.com/rsimon/mirador-annotorious