mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-08-04 22:06:34 +00:00
fix station styling
This commit is contained in:
+4
-3
@@ -90,9 +90,10 @@
|
||||
}
|
||||
|
||||
.station {
|
||||
background-color: var(--color);
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background-color: white;
|
||||
outline: 2px solid var(--color);
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 999px;
|
||||
}
|
||||
</style>
|
||||
|
||||
+2
-1
@@ -60,7 +60,8 @@ for (const station of stations) {
|
||||
zIndexOffset: 2000,
|
||||
icon: L.divIcon({
|
||||
className: "",
|
||||
html: `<div class="station" style="--color: ${color};"></div>`
|
||||
html: `<div class="station" style="--color: ${color};"></div>`,
|
||||
iconSize: [5, 5],
|
||||
})
|
||||
}).addTo(map)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user