mapbox / mapbox/mapbox-directions.js
depends on worldCopyJump: true
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
If worldCopyJump: true is not set, when you place markers in a wrapped copy of the world and then get a route, the markers disappear because they are reset to the wrapped locations.
It would be hard to mitigate this in code. I think we need to document that worldCopyJump: true is required and possibly error or console.warn if not.
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 locating the plugin's existing documentation for map configuration and the worldCopyJump option. Document that worldCopyJump: true is required when placing markers in wrapped world copies before requesting a route; decide from the project guidance whether a warning or error is also in scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100