kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add state labels at low zoom levels (#969)
* Remove state labels zoom, rank, and country conditions from layer function
* Don't add labels for zooms 0 and 1
If we check Bright, Positron, or Dark styles, they all show a huge lack of data about states and regions. At zoom 2, for big countries like Canada, Brazil, China or Australia there are big patches of white space (aka cartographer's *horror vacui* 😅)
pull/975/head
rodzic
a4671b84f0
commit
194b2fbb70
layers/place
|
@ -77,11 +77,7 @@ FROM (
|
|||
FROM osm_state_point
|
||||
WHERE geometry && bbox
|
||||
AND name <> ''
|
||||
AND ("rank" + 2 <= zoom_level)
|
||||
AND (
|
||||
zoom_level >= 5 OR
|
||||
is_in_country IN ('United Kingdom', 'USA', 'Россия', 'Brasil', 'China', 'India') OR
|
||||
is_in_country_code IN ('AU', 'CN', 'IN', 'BR', 'US'))
|
||||
AND zoom_level > 1
|
||||
|
||||
UNION ALL
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue