Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable annotations (drawing on the map) #8

Open
2 tasks
WUOTE opened this issue Mar 23, 2024 · 1 comment
Open
2 tasks

Enable annotations (drawing on the map) #8

WUOTE opened this issue Mar 23, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@WUOTE
Copy link
Contributor

WUOTE commented Mar 23, 2024

The annotations plugin is already added to the project but has not been activated.

// const annotations = new OpenSeadragon.Annotations({ viewer });
// os.initializeAnnotations();

Current issues are:

  • The pugin puts its controls at the very bottom left of the map container making it almost impossible to use.
  • There are no means of sharing an annotation (similar to copying current zoom level and coordinates to the clipboard).
@WUOTE WUOTE added enhancement New feature or request help wanted Extra attention is needed labels Mar 23, 2024
@WUOTE WUOTE added this to Noitamap Mar 23, 2024
@WUOTE WUOTE moved this to Todo in Noitamap Mar 23, 2024
WUOTE added a commit that referenced this issue May 16, 2024
* WIP: overlay toggle improvements and enabling drawing #8

* Improve overlays toggle and state indication #8

* WIP: Fix distance between switch and its label #8
@SquaredCub
Copy link
Contributor

I have tried looking into this issue but I encounter a bug on firefox :
image
And a different one in chrome :
image

The only example I have found online that uses this plugin is this codepen but it seems to face the same errors.

On one hand the codepen seems to be able to draw but on the other, it does not load its tiles.
Considering the exact same tiles are used in plenty other examples, I suppose it's the plugin that is causing issues even though the tiles load just fine on your map...

One other thing to note is when trying to add the package as mentionned on the plugin's github page with the npm i command, I get the following message :
image

Considering the last update for the plugin was made 7 years ago, I imagine it's just not compatible anymore with the 5.0.0 release of OpenSeadragon.

Any additional information would be welcome if this feature is still sought after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants