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

Adding Mapbox provider #8

Merged
merged 4 commits into from
Sep 23, 2024
Merged

Adding Mapbox provider #8

merged 4 commits into from
Sep 23, 2024

Conversation

arnasbr
Copy link
Contributor

@arnasbr arnasbr commented Sep 19, 2024

No description provided.

@arnasbr arnasbr self-assigned this Sep 19, 2024
Comment on lines +73 to +74
elif mode == Mode.PUBLIC_TRANSPORT:
raise ValueError("Public transport is not supported for Mapbox requests")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PT is a bit problematic (not just with mapbox, but in general), skipping it for now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't have an env var allowing the user to specify transport mode for now anyways

@arnasbr arnasbr marked this pull request as ready for review September 19, 2024 11:48
@arnasbr
Copy link
Contributor Author

arnasbr commented Sep 19, 2024

After this I'll make the providers configurable (so the user can pick which providers they want to compare to TravelTime)

Copy link
Collaborator

@pawel-wroniszewski pawel-wroniszewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@arnasbr arnasbr merged commit e75ca46 into master Sep 23, 2024
5 checks passed
@arnasbr arnasbr deleted the mapbox branch September 23, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants