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

When the devicePixelRatio changes, the Chart Cluster does not display correctly. #1109

Open
seiyagg opened this issue Oct 23, 2024 · 4 comments
Labels

Comments

@seiyagg
Copy link

seiyagg commented Oct 23, 2024

Browser: Chrome or Edge on Windows.
Step to reproduce:

  1. Open example page: https://viglino.github.io/ol-ext/examples/map/map.clustering.html
  2. Change devicePixelRatio to 200%
    image
  3. Refresh the page - the chart will be clear
    image
  4. Change devicePixelRatio to 100%
  5. Zoom in/out by clicking the "+"/"-" button, then the chart cannot work well
    image

I only used the example page to reproduce how to make the chart not display. I know that users won't frequently switch the pixelRatio in real usage, but in my SPA, if a user changes the pixelRatio on another page and then navigates back to the map, the chart won't display.

Viglino added a commit that referenced this issue Dec 4, 2024
@Viglino
Copy link
Owner

Viglino commented Dec 23, 2024

Should work now

@Viglino Viglino added the bug label Dec 23, 2024
@JanPono
Copy link

JanPono commented Jan 21, 2025

Edge win 11, not working ... showing only in animation

@carmenmarquez
Copy link

It doesn't work properly, it only displays correctly if you have the browser at 100%

Viglino added a commit that referenced this issue Feb 13, 2025
@Viglino
Copy link
Owner

Viglino commented Feb 13, 2025

Last commit should fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants