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.maptilerLayer config.

Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.

Related examples