basic map
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Failing after 4m54s
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Failing after 4m54s
This commit is contained in:
parent
06cfac4b8e
commit
0698373151
4 changed files with 9 additions and 0 deletions
|
|
@ -99,6 +99,12 @@ pub struct StopSearchResults {
|
|||
pub results: Vec<Stop>
|
||||
}
|
||||
|
||||
#[derive(askama::Template)]
|
||||
#[template(path = "map.html")]
|
||||
pub struct MapTemplate {
|
||||
pub locations: Vec<(f64,f64, String)>
|
||||
}
|
||||
|
||||
pub fn build_timetables(directions: Vec<Direction>, trips: Vec<Trip>) -> Vec<TimetableDirection> {
|
||||
let mut results = Vec::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue