Comments (8)
Just installed the newer version. It works perfectly.
Appreciate it! Thanks for quick replies and action.
Also from version 3.x, having only annotorious
will work?
from annotorious-openseadragon.
Yes, I believe import OpenSeadragon from 'openseadragon';
should fix this.
It's weird that no-one has had problems with this earlier. The only setup where this can work is in applications that import OpenSeadragon via <script>
tag. (Because then OpenSeadragon
will be a global.) I believe that's what I did in all my demos. (I never used the feature in a 'real' app so far myself I think...) You might simply be the first person to actually use that with a bundler ;-)
from annotorious-openseadragon.
P.S.: in case you want to send a PR, please submit it against the 2.x branch, not the main branch. The main branch is now frozen, as it will switch to the v.3 branch soon. Critical updates, minor fixes and general maintenance of 2.7.x will happen on the v2.x branch from now on.
from annotorious-openseadragon.
Thanks man. I just made a pull request on 2.6.x branch if that's okay cause that was the only v2.x I could find in annotorious-openseadragon
. The link you provided in the earlier response was for annotorious
.
Also I just wanted to appreciate how much this repo has helped me. If I made the PR in a wrong place please tell me where I should make the PR.
from annotorious-openseadragon.
Is there any way I can use the updated code in my application before you merge the pull request. I tried npm install
of my forked version, but to vain.
from annotorious-openseadragon.
Thanks for the PR! Ah, about the branch: sorry my fault, I got confused :-D The 3.x branch exists in the annotorious repository, but not this one. (From version 3.x onwards, there will only be one monorepo for both versions. This repo will remain open for critical fixes and such, but otherwise will be de-fact deprecated.) I redirected your PR to the main branch & merged.
And thanks for the nice feedback - I really appreciate it!
About using the update code yourself: I'll try to push a new release with the fix later today or tomorrow. Meanwhile, you could run npm install
and ./build.sh
in your fork. (If you're on Mac or Linux. The build script might need tweaking on Windows.) Then you'd have to change the package.json
in your own project to point to your own local fork rather than the last published version on the npm registry.
Looks something like this:
"dependencies": {
"@recogito/annotorious-openseadragon": "file:../relative/or/absolute-path/to/your/fork"
}
from annotorious-openseadragon.
The new release with your PR included is published! Version 2.7.13.
from annotorious-openseadragon.
Annotorious 3 will be organized a bit differently. There will still be separate packages for the vanilla JS versions of Annotorious standard (@annotorious/annotorious) and OpenSeadragon (@annotorious/openseadragon).
Then there will be packages for framework bindings specifically (@annotorious/react and @annotorious/svelte - although I hope the community will contribute additional ones). The framework packages will include bindings for both versions.
All those modules will be maintained in a single repo (this one), however, not in separate repos.
from annotorious-openseadragon.
Related Issues (20)
- Angular 15 import HOT 7
- openseadragon package error with Vite HOT 2
- Annotations can be moved HOT 6
- Drawing tools stuck after single click HOT 4
- Autosave annotations when widget closes HOT 1
- Modify the size of the annotations edit points when zoomed out HOT 1
- Accessing annotation state in headless mode HOT 8
- setAnnotations throws an error HOT 2
- Disable hotkey altogether HOT 1
- annotorious-OSD in vue 3 HOT 1
- Set the viewport position and zoom HOT 2
- Annotorious selection box and OSD rotation HOT 1
- The AnnotationLayer class is console logging
- Is it possible to add a constraint when resizing annotations outside the image? HOT 1
- Adding two separate distinct svg Annotations HOT 1
- When can the editor support customization?
- How does the annotorious toolbar plugin detect button switching events?
- When the gigapixelMode property is enabled in annotorious-openseadragon, there is an error when drawing lines, I don't know what is the reason
- Using widgets? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annotorious-openseadragon.