Fallback to standard language if desired language doesn't exist in tiles? #2957
-
Hello dear Maplibre community, I am currently working on a new map style with self-created tiles that will be usable in different languages. Is it necessary to export each of the desired languages or is there a possibility to a fallback language in the style.json? Example: I fear that generating 25 languages for all road labels could be a performance problem (generating and rendering). Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I think you can use |
Beta Was this translation helpful? Give feedback.
-
Or something with [
"case",
["has", "name:fr"],
["get", "name:fr"],
["get", "name"]
] |
Beta Was this translation helpful? Give feedback.
I think you can use
coalesce
expression I believe.