-
I want to display highways at a lower zoom level than normal, if they are part of a route relation. For example "highway=path" is displayed at level 13 and higher, but when there is a hiking route on this path I want to display it at level 12 and higher. I am currently using route relations like in this example: BikeRouteOverlay.java |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You need to use the first relations preprocessing step to store way information in memory, example: https://github.com/protomaps/basemaps/blob/main/tiles/src/main/java/com/protomaps/basemap/layers/Boundaries.java#L264 |
Beta Was this translation helpful? Give feedback.
sourceFeature.getTag("highway")
works for me.