Skip to content

Commit 6394e47

Browse files
committed
style(map): thin out road shields at high/navigation zoom
414198b widened ref-shield symbol-spacing but the stops clamped at z14-15, so at navigation zoom (z16+, pitched) the long visible road still showed many A57/B/L/K shields. Extend the autobahn/bundes-/land-/kreisstrasse symbol-spacing stops to z16-18 with larger values (e.g. autobahn 750@z15 -> 1500@z16 -> 2500@z18) so shields thin out when zoomed in. Lower-zoom values unchanged.
1 parent 4bbb8ab commit 6394e47

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/web/public/styles/openmapx-streets.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2708,7 +2708,7 @@
27082708
},
27092709
"symbol-spacing": {
27102710
"base": 1,
2711-
"stops": [[7, 2500], [9, 2000], [11, 1250], [13, 1000], [15, 750]]
2711+
"stops": [[7, 2500], [9, 2000], [11, 1250], [13, 1000], [15, 750], [16, 1500], [18, 2500]]
27122712
},
27132713
"text-field": "{ref}",
27142714
"text-font": ["Noto Sans Bold"],
@@ -2747,7 +2747,7 @@
27472747
},
27482748
"symbol-spacing": {
27492749
"base": 1,
2750-
"stops": [[8, 2500], [10, 1750], [12, 1250], [14, 900]]
2750+
"stops": [[8, 2500], [10, 1750], [12, 1250], [14, 900], [16, 1500], [18, 2400]]
27512751
}
27522752
},
27532753
"paint": {
@@ -2781,7 +2781,7 @@
27812781
},
27822782
"symbol-spacing": {
27832783
"base": 1,
2784-
"stops": [[10, 2500], [12, 1500], [14, 1000]]
2784+
"stops": [[10, 2500], [12, 1500], [14, 1000], [16, 1500], [18, 2400]]
27852785
}
27862786
},
27872787
"paint": {
@@ -2812,7 +2812,7 @@
28122812
"symbol-placement": "line",
28132813
"symbol-spacing": {
28142814
"base": 1,
2815-
"stops": [[12, 2000], [14, 1250]]
2815+
"stops": [[12, 2000], [14, 1250], [16, 1600], [18, 2400]]
28162816
}
28172817
},
28182818
"paint": {

0 commit comments

Comments
 (0)