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

Offset occured when I use it in Mapbox GL JS #3

Open
YuWebGIS opened this issue Jul 15, 2021 · 0 comments
Open

Offset occured when I use it in Mapbox GL JS #3

YuWebGIS opened this issue Jul 15, 2021 · 0 comments

Comments

@YuWebGIS
Copy link

So I modify earthRadius and degrees:
from:
var earthRadius = 6371008.8;
degrees: earthRadius / 111325,
to:
var earthRadius = 6378137;
degrees: earthRadius / 111319.491,

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

No branches or pull requests

1 participant