diff --git a/static/index.html b/static/index.html
index d3167c5..ce1c471 100644
--- a/static/index.html
+++ b/static/index.html
@@ -787,15 +787,18 @@
border-radius: var(--radius);
/* Map controls bar */
.map-controls {
- display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap;
+ display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; align-items: center;
}
.map-chip {
+ display: inline-flex; align-items: center; gap: 4px;
font-size: 11px; font-weight: 600; padding: 6px 12px;
border-radius: 20px; border: 1px solid var(--border);
background: var(--card2); color: var(--text2); cursor: pointer;
transition: all 0.15s;
-webkit-tap-highlight-color: transparent;
+ user-select: none;
}
+ .map-chip svg { width: 13px; height: 13px; flex-shrink: 0; }
.map-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.map-chip.heat-on { background: var(--amber); border-color: var(--amber); color: #000; }
.map-chip.park-on { background: var(--accent); border-color: var(--accent); color: #fff; }
@@ -1336,9 +1339,18 @@
═══════════════════════════════════════════════════════════════════════ -->
-
🔥 Heatmap
-
🏰 Parks ON
-
◎ My GPS
+
+
+ Heatmap
+
+
+
+ Parks ON
+
+
+
+ My Location
+
@@ -3378,13 +3390,14 @@
function toggleParkOutlines() {
parkOutlinesVisible = !parkOutlinesVisible;
const chip = document.getElementById('chipParkOutlines');
+ const label = chip.querySelector('.chip-label');
if (parkOutlinesVisible) {
chip.classList.add('park-on');
- chip.textContent = '🏰 Parks ON';
+ if (label) label.textContent = 'Parks ON';
drawParkOutlines();
} else {
chip.classList.remove('park-on');
- chip.textContent = '🏰 Parks';
+ if (label) label.textContent = 'Parks';
if (parkOutlineGroup) map.removeLayer(parkOutlineGroup);
parkOutlineGroup = null;
}
@@ -4442,11 +4455,12 @@
async function toggleHeatmap() {
if (!map) return;
const chip = document.getElementById('chipHeat');
+ const label = chip.querySelector('.chip-label');
if (heatVisible) {
heatVisible = false;
chip.classList.remove('heat-on');
- chip.textContent = '🔥 Heatmap';
+ if (label) label.textContent = 'Heatmap';
if (heatLayer) map.removeLayer(heatLayer);
heatLayer = null;
return;
@@ -4454,7 +4468,7 @@
heatVisible = true;
chip.classList.add('heat-on');
- chip.textContent = '🔥 Heatmap ON';
+ if (label) label.textContent = 'Heatmap ON';
await loadHeatmapData();
}