Skip to content

Commit d443e1b

Browse files
committed
fix: update building layer descriptions and colors for consistency; replace existing SVG icons with new designs for better visual representation
1 parent dd3f1b0 commit d443e1b

4 files changed

Lines changed: 14 additions & 52 deletions

File tree

data/existing.svg

Lines changed: 4 additions & 23 deletions
Loading

data/proposed.svg

Lines changed: 4 additions & 23 deletions
Loading

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ <h2>Data Layers</h2>
185185
</label>
186186
<div class="layer-info">
187187
<span class="layer-label">Building Footprints</span>
188-
<span class="layer-description">Red outlines • Hover shows coverage</span>
188+
<span class="layer-description">Blue outlines • Hover shows coverage</span>
189189
<span class="layer-status" id="buildingLayerStatus">
190190
<span class="status-indicator status-tiles">📐 Using tiles (zoom 7-13)</span>
191191
<span class="status-indicator status-highlighting" style="display: none;">🎯 Highlighting available</span>
@@ -210,7 +210,7 @@ <h2>Data Layers</h2>
210210
<img src="data/user-location-icon.svg" width="16" height="16" alt="Requested shelter icon">
211211
</div>
212212
<label class="toggle-switch">
213-
<input type="checkbox" id="requestedSheltersLayer" checked>
213+
<input type="checkbox" id="requestedSheltersLayer">
214214
<span class="toggle-slider"></span>
215215
</label>
216216
<div class="layer-info">

js/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ class ShelterAccessApp {
643643
if (this.hoveredShelter && this.hoveredBuildings.includes(buildingIndex)) {
644644
return [0, 255, 0, 150]; // Bright green for hover coverage
645645
}
646-
return [255, 0, 0, 120]; // Red for all other buildings when layer is enabled
646+
return [59, 130, 246, 180]; // Blue for all other buildings when layer is enabled (matches menu buttons)
647647
} else {
648648
// Buildings layer is disabled - only show covered buildings in green
649649
return [0, 255, 0, 200]; // Bright green for covered buildings
@@ -657,7 +657,7 @@ class ShelterAccessApp {
657657
if (this.hoveredShelter && this.hoveredBuildings.includes(buildingIndex)) {
658658
return [0, 255, 0, 255]; // Bright green outline for hover
659659
}
660-
return [255, 0, 0, 180]; // Red outline for all other buildings
660+
return [59, 130, 246, 220]; // Blue outline for all other buildings (matches menu buttons)
661661
} else {
662662
// Buildings layer is disabled - only show covered building outlines in green
663663
return [0, 255, 0, 255]; // Bright green outline for covered buildings
@@ -1973,7 +1973,7 @@ class ShelterAccessApp {
19731973
if (this.hoveredShelter && this.hoveredBuildings.includes(buildingIndex)) {
19741974
return [0, 255, 0, 150];
19751975
}
1976-
return [255, 0, 0, 120];
1976+
return [59, 130, 246, 180];
19771977
} else {
19781978
return [0, 255, 0, 200];
19791979
}
@@ -1985,7 +1985,7 @@ class ShelterAccessApp {
19851985
if (this.hoveredShelter && this.hoveredBuildings.includes(buildingIndex)) {
19861986
return [0, 255, 0, 255];
19871987
}
1988-
return [255, 0, 0, 180];
1988+
return [59, 130, 246, 220];
19891989
} else {
19901990
return [0, 255, 0, 255];
19911991
}

0 commit comments

Comments
 (0)