Add building height labels

This commit is contained in:
2024-07-03 11:10:46 -07:00
parent ae21d408d1
commit 3bce4a6ed6
4 changed files with 42 additions and 21 deletions

View File

@@ -443,11 +443,12 @@ g[data-y="76"] { --i: 76; }
fill-opacity: 0.2;
}
.elevation {
text.elevation {
font-family: sans-serif;
font-weight: bold;
font-size: 6pt;
text-anchor: middle;
user-select: none;
pointer-events: none;
fill: black;
}

View File

@@ -59,7 +59,7 @@ use[href="#hex"] {
stroke-linecap: square;
}
.building [class*="elevation"] {
.building [class*="elevation-"] {
display: none;
}
@@ -76,7 +76,8 @@ use[href="#hex"] {
fill: #999;
}
[data-view-elevation="-1"] .building .elevation-basement {
[data-view-elevation="-1"] .building .elevation-basement,
[data-view-elevation="-1"] .elevation-basement + text.elevation {
display: inline;
}