Skip to content

Commit

Permalink
Render addr:unit by itself when zoom >= 18.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpikonen committed Sep 5, 2017
1 parent 3163563 commit fce05c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addressing.mss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
text-size: 10;
text-wrap-width: 30; // 3.0 em
text-line-spacing: -1.5; // -0.15 em
[zoom >= 18]["addr_unit" != null]["addr_housenumber" = null] {
text-name: [addr_unit];
}
[zoom >= 20] {
text-size: 11;
text-wrap-width: 22; // 2.0 em
Expand Down

0 comments on commit fce05c9

Please sign in to comment.