Change a map’s language
You can utilize the setLanguage
function to dynamically switch between languages. This function allows you to modify the language setting for the labels that appear on maps. By following these guidelines, users can customize the language of map labels based on their personal preferences.
Related examples
An extension of MapLibre GL JS