mapbox / mapbox/mapbox-directions.js

Dragged markers aren't cleared upon calculating new route

Open
#77 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

1. Use inputControl to query A to B
2. Drag some waypoints
3. Enter different inputs into A + B, query
= waypoints from step 2 stay in place and query includes them

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 reproducing the issue through inputControl: query a route, drag waypoints, then change both inputs and query again. Trace how the new route is assembled and how dragged waypoints are retained; done means the second query excludes waypoints from the previous route.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
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.