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