Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: antiMeridian is not defined #32

Open
rimos opened this issue Sep 24, 2021 · 7 comments · May be fixed by #33
Open

ReferenceError: antiMeridian is not defined #32

rimos opened this issue Sep 24, 2021 · 7 comments · May be fixed by #33

Comments

@rimos
Copy link

rimos commented Sep 24, 2021

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

@vcardins
Copy link

Any updates on this?

@fknop
Copy link

fknop commented Jul 4, 2022

Same issue here, the variable is missing a var

@fknop fknop linked a pull request Jul 4, 2022 that will close this issue
@ryans-usafacts
Copy link

ryans-usafacts commented Aug 6, 2022

I'm getting this error too. Any reason not to merge the associated PR, which seems like a straightforward fix?

@dereekb
Copy link

dereekb commented Sep 5, 2022

I just ran into this. I went ahead and created a public branch hosting just the dist files of the PR that you can use in your package.json until someone merges that PR.

"dependencies": {
   "@mapbox/geo-viewport": "git+https://[email protected]/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f",
}

@just-Bri
Copy link

Still seeing this issue.
Any chance we can get @dereekb's fix merged?

@tmcw
Copy link
Contributor

tmcw commented Nov 29, 2022

I've modernized this module and included the fix in a maintained fork: https://github.com/placemark/geo-viewport

@wieseljonas
Copy link

Got this issue when upgrading from nextjs -> "^13.5.6" to "latest"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants