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

Add scale method option for layout scale bars #58904

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 30, 2024

  1. Add scale method option for layout scale bars

    Instead of always calculating the scale along the bottom of the
    map, expose a choice of methods to the user (along bottom,
    middle, top, or average of the three measurements)
    
    For new scalebars, default to the average method, which better
    handles the scenario where the scale at the top or bottom of
    the map cannot be calculated (eg when the top/bottom of the map
    falls just outside valid areas for the map's crs)
    
    This fixes one of the most common scenarios which cause scale
    bar widths to blow out to massive sizes
    
    Refs qgis#55240
    nyalldawson committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    5e30618 View commit details
    Browse the repository at this point in the history
  2. Test mask updates

    nyalldawson committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    66f0e26 View commit details
    Browse the repository at this point in the history