mapbox / mapbox/geo-viewport

ReferenceError: antiMeridian is not defined

Open
#32 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
197
Forks
39
PR merge metrics
No merged PRs in 30d

Description

In the new 5.0 release, a ReferenceError is being thrown, `ReferenceError: antiMeridian is not defined` on https://github.com/mapbox/geo-viewport/blob/master/index.js#L16

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 at index.js:16 and inspect how antiMeridian is referenced alongside the surrounding declarations, then compare the 5.0 release changes. Confirm the fix by running the repository's existing test suite and verify that the ReferenceError no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.