mapbox / mapbox/mapbox-directions.js
Dragged markers aren't cleared upon calculating new route
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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