mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-10-03 16:06:19 +00:00
nav
This commit is contained in:
2 files changed
+39
-5
No files matched your search
@@ -36,6 +36,13 @@ L.tileLayer(
|
||||
}
|
||||
).addTo(map);
|
||||
|
||||
map.on("zoomstart", () => {
|
||||
document.body.classList.add("skip-vehicle-animation")
|
||||
})
|
||||
map.on("zoomend", () => {
|
||||
document.body.classList.remove("skip-vehicle-animation")
|
||||
})
|
||||
|
||||
const busLayer = L.layerGroup().addTo(map);
|
||||
const brtLayer = L.layerGroup().addTo(map);
|
||||
const traxLayer = L.layerGroup().addTo(map);
|
||||
|
||||
Reference in new issue
Block a user