You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using Esri vector tiles and trying to see English labels. Esri's map renders things well, and I wonder if olms can do the same.
In the Esri World_Basemap_GCS_v2 tileset, there are two properties: _name_global and _name_local, but _name_global isn't always English. And we had declutter: true, so these non-english labels made English labels disappear.
Setting declutter: false shows the English labels, but overlapped, and things are ... well, cluttered ... so it's not ideal.
So I wonder if olms has a setting or fix for this. Esri is somehow hiding the non-english labels and showing the English ones, but I don't know how.
So Esri's map hides all non-english labels, but I can't tell how... Inspecting the "Altar of Earth and Harvests" label in the middle shows two points with these properties:
You might think maybe they consider a label non-english if both _name_global and _name_local are the same, but that applies to English labels as well, such as this park in Ireland:
Hello again!
We're using Esri vector tiles and trying to see English labels. Esri's map renders things well, and I wonder if
olms
can do the same.In the Esri
World_Basemap_GCS_v2
tileset, there are two properties:_name_global
and_name_local
, but_name_global
isn't always English. And we haddeclutter: true
, so these non-english labels made English labels disappear.Setting
declutter: false
shows the English labels, but overlapped, and things are ... well, cluttered ... so it's not ideal.So I wonder if
olms
has a setting or fix for this. Esri is somehow hiding the non-english labels and showing the English ones, but I don't know how.Here's a codesandbox: https://codesandbox.io/s/olms-esri-decluttering-xvqs2
It shows Beijing in the Forbidden City:
declutter: true
:declutter: false
So Esri's map hides all non-english labels, but I can't tell how... Inspecting the "Altar of Earth and Harvests" label in the middle shows two points with these properties:
and
However, Esri renders one and not the other. The style rules don't show anything that might achieve that:
and
You might think maybe they consider a label non-english if both
_name_global
and_name_local
are the same, but that applies to English labels as well, such as this park in Ireland:The only possibility I can think of is that they inspect the characters in the string, which seems crazy:
Is there something else that could be causing it?
It's been pretty hard debugging these vector tiles. Any help would be appreciated, including hacks.
The text was updated successfully, but these errors were encountered: