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
This river straddles the border between North and South Korea; the two countries have different Korean-language names for the same river. The style shows both names, attempting to replace the semicolon delimiter with a newline. However, MapLibre GL JS doesn’t support newlines in line-placed labels, since they wouldn’t have text-max-width set: mapbox/mapbox-gl-js#8575. So instead it smooshes the two names together:
That might not be so weird in CJK, but in other scripts that routinely separate words with spaces, users might be expecting something more explicit to separate the names, as in this river:
In #666, I implemented a bullet character as the delimiter in line-placed transportation labels, but I overlooked the fact that waterway labels are also line-placed.
The text was updated successfully, but these errors were encountered:
This river straddles the border between North and South Korea; the two countries have different Korean-language names for the same river. The style shows both names, attempting to replace the semicolon delimiter with a newline. However, MapLibre GL JS doesn’t support newlines in line-placed labels, since they wouldn’t have
text-max-width
set: mapbox/mapbox-gl-js#8575. So instead it smooshes the two names together:That might not be so weird in CJK, but in other scripts that routinely separate words with spaces, users might be expecting something more explicit to separate the names, as in this river:
In #666, I implemented a bullet character as the delimiter in line-placed transportation labels, but I overlooked the fact that waterway labels are also line-placed.
The text was updated successfully, but these errors were encountered: