mirror of
https://github.com/cjdenio/uta-trax-api.git
synced 2026-08-04 22:06:34 +00:00
station popup
This commit is contained in:
@@ -6,6 +6,9 @@ indent_style = tab
|
|||||||
[*.html]
|
[*.html]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
[*.js]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
[*.proto]
|
[*.proto]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|||||||
+1
-1
@@ -66,7 +66,7 @@ for (const station of stations) {
|
|||||||
html: `<div class="station" style="--color: ${color};"></div>`,
|
html: `<div class="station" style="--color: ${color};"></div>`,
|
||||||
iconSize: [5, 5],
|
iconSize: [5, 5],
|
||||||
})
|
})
|
||||||
}).addTo(map)
|
}).addTo(map).bindPopup(station.name.replace(" Station", ""))
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearMap() {
|
function clearMap() {
|
||||||
|
|||||||
Reference in New Issue
Block a user