feat(transportation): add motorroad subclass

This commit is contained in:
2026-02-13 12:29:32 +01:00
parent 5b715da30c
commit 896c34a146
3 changed files with 9 additions and 6 deletions

View File

@@ -265,7 +265,7 @@ public class TransportationName implements
firstRelationWithNetwork != null ? firstRelationWithNetwork.networkType().name : !nullOrEmpty(ref) ? "road" :
null)
.setAttr(Fields.CLASS, highwayClass)
.setAttr(Fields.SUBCLASS, highwaySubclass(highwayClass, null, highway))
.setAttr(Fields.SUBCLASS, highwaySubclass(highwayClass, null, highway, element.motorroad()))
.setMinPixelSize(0)
.setSortKey(element.zOrder())
.setMinZoom(minzoom)