Replies: 1 comment 1 reply
-
I don't think there's an easy fix besides changing the tiles' data to fit your needs. But you could check if someone in the slack channel may know more... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I create vector map tiles from OSM using tilemaker. I have my own style that focuses on hiking and shows coloured hiking routes. My issue is, that I want to display the coloured routes next to the paths. An obvious solution is to use the
line-offset
property but that doesn't work well because each path can have a different direction. Therefore, setting the same offset results in some routes being displayed on the right side of the path and some on the left side. I would like them all to be displayed on one side. It can even create unnecessary lines surrounding the path from both sides like on the screenshot:What happens is that there are multiple relations that overlap a bit. They all have a red colour but have a different direction. Which is why each of the lines is displayed on a different side.
My question is, if anyone knows, how to tackle this? Is it possible to somehow ignore the direction so the lines could be offset more reliably? Or would I have to handle the raw data manually?
Thanks for any ideas.
Cheers,
Patrik
Beta Was this translation helpful? Give feedback.
All reactions