Skip to content

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

@iafan

Description

@iafan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions