Open pastk opened 2 weeks ago
It might be tricky for thicker lines though (e.g. for "fading" borders) The turns might not look good unless specially processed
If we add an ability to set both an anchor and an offset value, then it'd be possible to render slightly separated lines or partially overlapping ones, e.g.
We'll need it to display cycleways over left or right sides of roads.
It'll be helpful for many cases, e.g.
Similar for pathtexts, we'd want to render area's name on the inner side of the border.
Basically its enough to have an
anchor: left/right
attrib. If its present the renderer should offset the line so that it runs exactly to the left/right of the "main" line (if present) or the default centerline. If we add an ability to set both an anchor and an offset value, then it'd be possible to render slightly separated lines or partially overlapping ones, e.g. Fancy steps? :) (two offset short dashed thick lines) But maybe we don't need this flexibility.FYI @vng