Web Dev Solutions

Catalin Mititiuc

From 3bce4a6ed62277a4c3a53541ceb0b0ac273b717a Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Wed, 3 Jul 2024 11:10:46 -0700 Subject: Add building height labels --- public/assets/css/map.css | 3 ++- public/assets/css/radial.css | 5 +++-- public/assets/images/mapsheets.svg | 36 ++++++++++++++++++------------------ public/assets/images/radial.svg | 19 +++++++++++++++++++ 4 files changed, 42 insertions(+), 21 deletions(-) diff --git a/public/assets/css/map.css b/public/assets/css/map.css index 24b6e31..d1386ab 100644 --- a/public/assets/css/map.css +++ b/public/assets/css/map.css @@ -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; } diff --git a/public/assets/css/radial.css b/public/assets/css/radial.css index d9636de..b7fd145 100644 --- a/public/assets/css/radial.css +++ b/public/assets/css/radial.css @@ -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; } diff --git a/public/assets/images/mapsheets.svg b/public/assets/images/mapsheets.svg index 96d6152..a212d5f 100644 --- a/public/assets/images/mapsheets.svg +++ b/public/assets/images/mapsheets.svg @@ -445,24 +445,6 @@ - - - - - - - - - - - - - - - - - 1 - @@ -505,6 +487,24 @@ 2 + + + + + + + + + + + + + + + + + 1 + diff --git a/public/assets/images/radial.svg b/public/assets/images/radial.svg index 8e9530c..537bc6d 100644 --- a/public/assets/images/radial.svg +++ b/public/assets/images/radial.svg @@ -189,6 +189,7 @@ + 1 @@ -202,6 +203,7 @@ + 2 @@ -219,6 +221,7 @@ + 1 @@ -230,6 +233,7 @@ + 1 @@ -247,6 +251,7 @@ + 1 @@ -264,6 +269,7 @@ + 1 @@ -277,6 +283,7 @@ + 1 @@ -294,6 +301,7 @@ + 1 @@ -311,6 +319,7 @@ + 3 @@ -322,6 +331,7 @@ + 1 @@ -351,6 +361,7 @@ + 3 @@ -368,6 +379,7 @@ + 1 @@ -386,6 +398,7 @@ + 3 @@ -398,6 +411,7 @@ + 1 @@ -415,6 +429,7 @@ + 1 @@ -432,6 +447,7 @@ + 2 @@ -445,6 +461,7 @@ + 1 @@ -474,6 +491,7 @@ + 2 @@ -518,6 +536,7 @@ + 2 -- cgit v1.2.3