mapbox / mapbox/mapbox-navigation-ios

Provide the ability to change shaft length while adding maneuver arrow.

Open
#3,638 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

`NavigationMapView.addArrow(route:legIndex:stepIndex:)` provides the ability to show maneuver arrow along the route for specific leg/step. At the same time there is a problem with maneuver arrow shaft length, which will always stay the same, this will cause issues on different zoom levels. In scope of this ticket this problem should be fixed.

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 with NavigationMapView.addArrow(route:legIndex:stepIndex:) and trace how the maneuver arrow shaft is created and sized. Check the existing navigation UI tests or examples around this API, then verify that shaft length can vary appropriately across zoom levels and that the existing arrow behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.