ReferenceError: antiMeridian is not defined
Opened this issue · 7 comments
rimos commented
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 commented
Any updates on this?
fknop commented
Same issue here, the variable is missing a var
ryans-usafacts commented
I'm getting this error too. Any reason not to merge the associated PR, which seems like a straightforward fix?
dereekb commented
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://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f",
}
tmcw commented
I've modernized this module and included the fix in a maintained fork: https://github.com/placemark/geo-viewport
wieseljonas commented
Got this issue when upgrading from nextjs -> "^13.5.6"
to "latest"