We have the technical capability to vary the font size, font weight, or letter spacing by the country’s size. From what I’ve seen, print atlases often vary the text style like this, if a little less than they do it to city labels. But this would still depend on deleting the label
nodes, since those nodes don’t have any information on them about how much area the country covers.
We were rendering redundant boundary lines until last week. Now we should be deduplicating coincident lines. Please double-check that this is working correctly. We might not be deduplicating boundary lines that are in different administrative levels, so this might affect regions that are comprehensively mapped at multiple levels.
Another change is that we now render boundary ways as lines, whereas before we’d only render boundary relations. This could be convenient for treaty lines between otherwise undefined territories. But it might also result in darkened lines if a boundary way is redundantly tagged with boundary=administrative
.
So far, we’ve focused on simplifying the geometries only to an imperceptible extent. Vector maps do tend to simplify more aggressively for performance reasons, though the effect usually leaves borders looking jagged. The changes last week included switching to a different simplification algorithm that preserves more topology, so we might be able to simplify more aggressively. I’d recommend opening an issue with any examples you feel best illustrate the need for further simplification, so we don’t end up simplifying counterproductively.
This could be the distinction between name=*
, short_name=*
, and official_name=*
. It would be straightforward to expose these keys in the tiles for styling purposes, at least for a very limited selection of languages. Unfortunately, MapLibre lacks a mechanism to try a variety of labels to see which one would fit. The only workaround I can think of requires duplicating layers, which has performance implications, but it might be a good tradeoff if we can get enough boundaries tagged with short names.
We see a much milder version of this problem in modern countries like the U.S. that have a mix of very large and very small clusters of subdivisions. A traditional print map would use indices to a legend, as in your example, or offset labels with leader lines. Unfortunately neither approach has crossed over into interactive digital cartography. It would be really cool if OHM would be the ones to make a substantial contribution towards a solution to this problem.
The embed site automatically switches to name:*=*
based on your browser’s preferred language setting, falling back to name=*
. We’re working on bringing that functionality to the main site too.
The other difference is that the embed site uses the 1-based zoom levels that are common in vector maps instead of the 0-based zoom levels common in raster maps. For backwards compatibility, the main site is using 0-based zoom levels. We might want to make sure the sharing option adjusts the zoom level accordingly when generating the URL.