Always display English?
I see provinces in China displayed as Chinese, although major cities are still displayed in English. After zooming in on details, no English is shown. Can this behaviour be controlled? Ideally, English can be displayed throughout all the zoom levels.
This needs to be resolved in https://github.com/protomaps/basemaps/issues/270 first
This needs to be resolved in protomaps/basemaps#270 first
Sorry I am new to OSM. If I use planettiler directly to generate my pmtiles file, will that work? I found one resource here. This looks like is generated by planettiler directly. And when I use the pmtiles provided by this resource, load it by using protomaps-leaflet plugin, I am only able to see some basic shapes such as continent borders and oceans, nothing else. But if I am using the build provided by protomaps, it works seamlessly.
Hi,
The resource you linked contains OpenMapTiles data which is different from the protomaps layers described here: https://docs.protomaps.com/basemaps/layers
So the protomaps style will not work with that, and is not practical to make compatible. You can find an OMT-based style to use with that tileset.
Still a work in progress but this might help: https://github.com/kalisio/leaflet-pmtiles.
This needs to be resolved in protomaps/basemaps#270 first
It seems that issue is now closed. Any plans to catch up on that?
No progress on implementing this right now, if you need the multilingual feature I'd recommend using MapLibre.
No progress on implementing this right now, if you need the multilingual feature I'd recommend using MapLibre.
Thank you for your prompt response. I don't really need multilanguage, just English when zoomed in over 7. I understand that's related?
If you want to display English text in non-Latin areas such as China in the example above you need the multilingual / language switcher as documented here for MapLibre: https://docs.protomaps.com/basemaps/maplibre#using-the-npm-package
The lang option to leaflet layer now controls the label language in v5.0.0.