mapbox / mapbox/mapbox-directions.js

depends on worldCopyJump: true

Open
#13 0 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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.