On this page

    Leaflet multi-lingual map

    This tutorial shows how to change the default map labels language. By default, if nothing is specified, the SDK uses the language defined in the browser. This corresponds to maptilersdk.Language.AUTO. To change the default language of the map, indicate the language in the L.maptiler.maptilerLayer config.

    
    

    Replace YOUR_MAPTILER_API_KEY_HERE with your own API key. Make sure to protect the key before you publish it!

    Was this helpful?

    Leaflet
    Examples
    Leaflet multi-lingual map
    Multi-lingual map