aboutsummaryrefslogtreecommitdiff
path: root/addressing.mss
diff options
context:
space:
mode:
Diffstat (limited to 'addressing.mss')
-rw-r--r--addressing.mss49
1 files changed, 49 insertions, 0 deletions
diff --git a/addressing.mss b/addressing.mss
new file mode 100644
index 0000000..a01a46b
--- /dev/null
+++ b/addressing.mss
@@ -0,0 +1,49 @@
+#interpolation {
+ [zoom >= 17] {
+ line-color: #888;
+ line-width: 1;
+ line-dasharray: 2,4;
+ }
+}
+
+#housenumbers {
+ [zoom >= 17] {
+ text-name: "[addr:housenumber]";
+ text-placement: interior;
+ text-min-distance: 1;
+ text-wrap-width: 0;
+ text-face-name: @book-fonts;
+ text-fill: #444;
+ text-size: 9;
+ }
+}
+
+#housenames {
+ [zoom >= 17] {
+ text-name: "[addr:housename]";
+ text-placement: interior;
+ text-wrap-width: 20;
+ text-face-name: @book-fonts;
+ text-size: 8;
+ text-fill: #444;
+ [zoom >= 18] {
+ text-size: 9;
+ }
+ }
+}
+
+#building-text {
+ [way_area >= 150000][zoom >= 14],
+ [way_area >= 80000][zoom >= 15],
+ [way_area >= 20000][zoom >= 16],
+ [zoom >= 17] {
+ text-name: "[name]";
+ text-size: 11;
+ text-fill: #444;
+ text-face-name: @book-fonts;
+ text-halo-radius: 1;
+ text-wrap-width: 20;
+ text-halo-fill: rgba(255,255,255,0.5);
+ text-placement: interior;
+ }
+}