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

Using multiple GridViz instances in one page/div #130

Open
wahlatlas opened this issue Oct 23, 2024 · 1 comment
Open

Using multiple GridViz instances in one page/div #130

wahlatlas opened this issue Oct 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@wahlatlas
Copy link

Still using v2 so if this behaviour changed in v3 just say so

See here how this works
https://wahlatlas.net/experimente/zensus2022/gemeinden_test/Karten-Test.html

As explained in this Datwrapper Post by @gka I am using web components / shadow-DOM for embedding multiple gridviz instances in one page as this seems to be the most resource effective way to do it these days.

However

  • I can only get the tooltip to attach to the body element
  • Fullscreen button/functionality is a problem
  • Similar for Zoom buttons

Is this outside the scope of this project, am I doing it wrong or is there a different strategy suggested?

@joewdavies joewdavies added the bug Something isn't working label Dec 2, 2024
@joewdavies joewdavies self-assigned this Dec 2, 2024
@joewdavies
Copy link
Collaborator

Apologies for the delay! I found some time to work on this and I think i've solved some of the issues:

See this test here: https://eurostat.github.io/gridviz/examples/test/test-tooltips.html

I published a new version: 3.0.18
Let us know if it fixes the issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants