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

Better label rotation #1475

Closed

Commits on Feb 18, 2020

  1. Improved the rotation of gridline labels

    Labels are rectangles with text and their rotation make them
    to overlap the map boundary, which force the current algorithm
    to try another rotation angle, and eventually leads to suprising
    rotations. This occurs because the labels are also moved along
    an ellipse that is defined xpadding and ypadding.
    
    This patch make the labels to move along the rectangle defined by xpadding
    and yappding, the one that encloses the ellipse. This
    sligthly increases the padding which may be sufficient to prevent
    labels to overlap boundaries in most situations.
    stefraynaud committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    fb67995 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. Fix copyright year

    stefraynaud committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    e6f762e View commit details
    Browse the repository at this point in the history