seasketch / next

A modernization version of the SeaSketch platform, released in 2022.
https://seasketch.org
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Default basemap based on language selection? #599

Open wmcclin opened 1 year ago

wmcclin commented 1 year ago

In the Bakul project, we have four basemaps - one for each of the languages (English, French, Portuguese, Spanish). At the moment, there's no way to force the default to be based on the language selection. This is an edge case and not a high priority. But, would it be possible to associate a basemap with one or more languages?

Screenshot 2023-05-12 at 11 39 14 AM
underbluewaters commented 1 year ago

This would really be a one-off for Bakul since it's our only project where we're using labels that are burned into images. It would also get really complex since we'd need to handle multiple basemap types.

If we're going to support multiple languages in basemaps I think it would be best to follow what mapbox supports with their latest basemaps. You can change the language and it just updates the vector labels. It's only supported in certain basemaps though.