mapbox / mapbox/mapbox-navigation-ios

[Feature request] make separatesLegs only affect turn-by-turn navigation, but not the display of the route

Open
#4,814 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
918
Forks
326
Avg merge
1h 16m
Merged PRs (30d)
3

Description

I want the user of my app to be able to define multiple waypoints on a map and specify which ones should be 'vias' (separatesLegs=false) and 'stops' (separatesLegs=true). When showing such a route on a map, I believe it is beneficial to see vias exactly because they indicate why the route was calculated this way, and to be able to manage these points (e.g. tap to remove). But during active turn-by-turn navigation, I want to keep the current Mapbox behavior, which is to just ignore such vias.

I understand that I can draw my own waypoints on top of the map as POI markers, but I think it still makes sense to make the default behavior a bit more informative and usable out of the box.

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

No files, tests, or entry points are named. Start by tracing how separatesLegs waypoints are handled during route display and active turn-by-turn navigation; done means vias remain visible and manageable on the map while navigation continues to ignore them.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.