All examplesMaps
Change the map language
lang picks among 41 languages in the tiles. This map is centred on Montréal with French labels.
live result
the code that produced it
import { Unmap } from "@unmap/sdk";
const unmap = new Unmap({
key: "um_live_...",
container: "map",
style: "base",
mode: "light",
lang: "fr",
center: [-73.5673, 45.5017],
zoom: 12,
});Indigenous names are not a language code. The tiles carry them on the feature (name2), so Iqaluit renders "Iqaluit / ᐃᖃᓗᐃᑦ" regardless of lang. Leave lang off and the gateway follows Accept-Language.
Maps API lists how labels are chosen.