Position line-following labels at the mid point of the polyline

Authored by vkrause on May 27 2020, 3:54 PM.

Description

Position line-following labels at the mid point of the polyline

This produces significantly better results than the previous hacks, in
particular along curved lines. Specifically, the text is now actually
always on the line it is supposed to follow.

This is still not perfect though, long text in sharp turns would need to
be either moved to a longer adjacent segment, or broken into parts that
are layouted individually.

Details

Committed
vkrauseMay 27 2020, 3:54 PM
Parents
R1032:784932590eaa: Implement the text-offset MapCSS property
Branches
Unknown
Tags
Unknown