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 · 0 comments

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.

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

No branches or pull requests

1 participant