Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core][tile mode] Reduce cut-off labels (part 2) #16369

Merged
merged 7 commits into from
Apr 8, 2020

Commits on Apr 7, 2020

  1. [core] Introduce PlacementContext

    Make `placeSymbol()` a method and introduce copiable `PlacementContext`.
    pozdnyakov committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    4731227 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2abc7c6 View commit details
    Browse the repository at this point in the history
  3. [core][tile mode] Placement algorithm improvements

    Now, the intersecting symbols are placed across all layers according to the following rules:
    1) First we look, which of the tile border(s) the symbol intersects and prioritize the the symbol accordingly (high priority -> low priority):
    vertical & horizontal -> vertical -> horizontal
    
    2) For the symbols that intersect the same tile border(s), assuming the tile border split symbol into several sections, we look at the minimal section length.
    The symbol with a larger minimal section length is placed first.
    
    3) Finally, for the symbols that intersect the same tile border(s), and have equal minimal section length, we look at the anchor Y cordinate.
    pozdnyakov committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    ea82e94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    872e2eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bcf3167 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15086b9 View commit details
    Browse the repository at this point in the history
  7. Add change log entry

    pozdnyakov committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    4327c2e View commit details
    Browse the repository at this point in the history