Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

journeys(): support multiple via points #254

Open
yu-re-ka opened this issue Dec 24, 2021 · 3 comments
Open

journeys(): support multiple via points #254

yu-re-ka opened this issue Dec 24, 2021 · 3 comments

Comments

@yu-re-ka
Copy link
Contributor

I don't know the api format needed for this, but it should be possible to enter multiple via points

@derhuerst derhuerst changed the title Multiple via points journeys(): support multiple via points Dec 24, 2021
@derhuerst
Copy link
Member

We could change the code to handle opt.via being an array. This is the current implementation:

if (opt.via) opt.via = profile.formatLocation(profile, opt.via, 'opt.via')

@fightforlife
Copy link

should multiple via points in an array handled as AND (the journey has to go through all via points) or OR (Journeys can go through either point)

@derhuerst
Copy link
Member

Note sure! Do we know if HAFAS supports both? Would be great if someone could investigate this!

@derhuerst derhuerst added the good first issue Good for newcomers label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants