feat: add geolocation button to map to center view on user position

This commit is contained in:
(jenkins)
2026-04-16 22:57:59 +01:00
parent c83049aca5
commit b98bac9cff
2 changed files with 57 additions and 1 deletions
+24
View File
@@ -13,6 +13,30 @@
z-index: 1;
}
.locate-btn {
position: absolute;
top: 10px;
left: 10px;
z-index: 10;
width: 36px;
height: 36px;
background: white;
border: none;
border-radius: 4px;
box-shadow: 0 1px 4px rgba(0,0,0,0.3);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: #333;
transition: background 0.15s, color 0.15s;
}
.locate-btn:hover {
background: #f0f0f0;
color: #1a73e8;
}
.controls {
width: 350px;
background: white;