mapbox / mapbox/mapbox-navigation-android
Cycling profile: Feature requests
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Mapbox Navigation SDK version: 2.4.0-beta.2
On RouteOptions, would it make sense to have a option like this one :
walkingSpeed(@Nullable @FloatRange(from = 0.14, to = 6.94) Double walkingSpeed)
for cycling profile?
We use the route options to generate directions for an electric bike.
But since we don't have to opportunity to set an average speed, we always end up with an incorrect ETA.
Also we would be interested to have something like this
/**
* A scale from -1 to 1, where -1 biases the route against alleys
* and 1 biases the route toward alleys. If null, default is 0, which is neutral.
*
* @param alleyBias bias towards alleys
* @return this builder
*/
@NonNull
public abstract Builder alleyBias(
@Nullable @FloatRange(from = -1, to = 1) Double alleyBias);
For cycling profile again. Is that feasible?
We have often feedback from customers that the direction are not good enough, or not as simple as the one provided by Google Maps.
What do you think?
Thanks a lot
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Android SDK's RouteOptions entry point for the cycling profile and review how route options affect ETA and route selection. The request is complete when cycling routes support a configurable average speed and an alley-bias option, with the behavior agreed and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100