mapbox / mapbox/mapbox-directions.js

get directions based upon user heading (N, S, E, W)

Open
#113 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
58
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Hey all, I have read through all of your documentation and may have missed it, but cannot seem to find a way to get directions based upon device heading. Say I've just turned East onto a road and require Eastbound directions but the nearest default route starts heading West. Is there a option I can pass in order to _force_, for lack of a better term, East bound directions? Or at a minimum, is there a way to signal a U-turn based upon that information? Thanks and you guys are doing a wonderful job!

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

The issue names no file, test, or entry point. Start by reviewing the plugin documentation and its integration with the Mapbox Directions API, then determine whether heading-based routing is supported. Done would require a clearly defined, documented behavior for heading input or U-turn guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
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.