protomaps / basemaps

Basemap PMTiles generation and cartographic styles for OpenStreetMap data and more
https://maps.protomaps.com/
Other
347 stars 44 forks source link

Turn labels to any locale #149

Closed emilienbidet closed 12 months ago

emilienbidet commented 1 year ago

Description I would like to have labels written in french : country and city names

A great solution would be to be able to do it by giving an option to the function like this :

layers("protomaps", "light", {
  locale: "fr"
})
bdon commented 12 months ago

Thanks, this will come in one of the next majors version of the tileset/styles: see #112

For now exporting a style JSON and replacing name with name:fr should somewhat work.

emilienbidet commented 12 months ago

So cool ! Thank you very much @bdon !

emilienbidet commented 12 months ago

I now close this issue to no create a duplicate