Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Adding Directions API profile toggle example #1303

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

langsmith
Copy link
Contributor

This pr adds an example of toggling between various Mapbox Directions API profiles (driving, walking, and cycling). The ETA for each profile is displayed and then the appropriate route is shown after tapping on a profile button.

I saw this in action in a real estate app and thought this could be good for the demo app

cc @coxchapman as an FYI about this type of example

ezgif com-resize (4)

Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

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

Cool example, UI could use some tweaks but it's all about the functionality

@langsmith langsmith force-pushed the ls-directions-profile-toggle-example branch from 7a3e996 to e8ff1ee Compare February 27, 2020 18:47
@langsmith langsmith merged commit f898cf4 into master Feb 27, 2020
@langsmith langsmith deleted the ls-directions-profile-toggle-example branch February 27, 2020 19:05
@langsmith langsmith mentioned this pull request Mar 2, 2020
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants