mapbox / mapbox/mapbox-navigation-android

Cycling profile: Feature requests

Open
#5,624 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature jira-sync-complete
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.