Ajout des icones amenity

This commit is contained in:
EpicKiwi 2026-02-15 14:46:22 +01:00
parent 3934e86ad1
commit 270449766f
Signed by: epickiwi
GPG key ID: C4B28FD2729941CE
4 changed files with 214 additions and 53 deletions

View file

@ -72,4 +72,22 @@ body, html {
stroke: #ff4e00;
stroke-width: 5px;
fill: rgba(255, 77, 0, 0.25);
}
.map-amenity-icon .map-amenity-icon-container {
transform: translateX(-50%) translateY(-50%);
width: fit-content;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 5px;
& > * {
opacity: clamp(0, calc( var(--zoom-level) - 19 ), 1) ;
}
& > .drinking-water {
opacity: clamp(0, calc( var(--zoom-level) - 20 ), 1) ;
}
}