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

Optional auto-scaling of XYZ tile layers #9296

Merged
merged 1 commit into from
Mar 1, 2019

Commits on Feb 27, 2019

  1. [xyz] Optional scaling of XYZ tile layers

    This adds "Resolution" configuration flag for XYZ tile layers.
    It supports several options:
    - unknown (default) - everything works as before
    - standard resolution - applies scaling
    - high resolution - applies scaling, assumes high-res tiles
    
    If tiles are made for standard resolution (e.g. 96 DPI) then on high res displays (e.g. 192 DPI)
    labels and other map features may appear very small if the resolution is not set. When
    configured as "standard resolution", map tiles will be picked according to this resolution and
    thus on high res displays the tiles will get scaled up. Similarly for print output, tiles will
    be scaled up so the printouts will have matching tile resolutions.
    
    The "high resolution" option is for tiles 512x512 aimed towards high-resolution displays.
    wonder-sk committed Feb 27, 2019
    Configuration menu
    Copy the full SHA
    318f789 View commit details
    Browse the repository at this point in the history