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

Fix for #3935 - pan-jump when map is large #3940

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Commits on Apr 4, 2024

  1. Fix for maplibre#3935 - pan-jump when map is large

    When the map canvas is large - >2048px, probably - the coords canvas
    stops growing with the map due to web GL limitations.
    This means that a screen-pixel is no longer 1:1 with a coords-canvas
    pixel. It needs to be scaled using the ratio of devicePixelRatio and
    painter.pixelRatio, which are no longer equal when the map is large.
    olsen232 committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    ea7c8ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95667c1 View commit details
    Browse the repository at this point in the history