Adds the map option language to configure map language. This only works for Radar map styles as it searchs and replaces for the expression ["get", "radar:name_client_language"].
Also sends up the header X-Radar-Device-Language with every style request which grabs from navigator.language. This is so that the server can figure out how to transform the style appropriately given the browser language.
Adds the map option
language
to configure map language. This only works for Radar map styles as it searchs and replaces for the expression["get", "radar:name_client_language"]
.Also sends up the header
X-Radar-Device-Language
with every style request which grabs fromnavigator.language
. This is so that the server can figure out how to transform the style appropriately given the browser language.