fix map localization

This commit is contained in:
vcoppe
2026-05-26 06:28:32 +02:00
parent 0393a330a6
commit fcfaf043c4
3 changed files with 31 additions and 10 deletions
+12 -2
View File
@@ -2631,7 +2631,12 @@
"layout": {
"icon-image": "mountain_11",
"text-anchor": "top",
"text-field": ["get", "name"],
"text-field": [
"case",
["has", "name:nonlatin"],
["concat", ["get", "name:latin"], " ", ["get", "name:nonlatin"]],
["coalesce", ["get", "name_en"], ["get", "name"]]
],
"text-font": ["Noto Sans Regular"],
"text-max-width": 9,
"text-offset": [0, 0.6],
@@ -2660,7 +2665,12 @@
"layout": {
"icon-image": "attraction_11",
"text-anchor": "top",
"text-field": ["get", "name"],
"text-field": [
"case",
["has", "name:nonlatin"],
["concat", ["get", "name:latin"], " ", ["get", "name:nonlatin"]],
["coalesce", ["get", "name_en"], ["get", "name"]]
],
"text-font": ["Noto Sans Regular"],
"text-max-width": 9,
"text-offset": [0, 0.6],