-
-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Globe - custom layers API and examples, globe dev guide #4577
Conversation
@HarelM Please ping people who should also review the custom layer API. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## globe #4577 +/- ##
==========================================
- Coverage 87.56% 87.49% -0.07%
==========================================
Files 262 263 +1
Lines 37166 37293 +127
Branches 2588 2559 -29
==========================================
+ Hits 32545 32631 +86
- Misses 3556 3602 +46
+ Partials 1065 1060 -5 ☔ View full report in Codecov by Sentry. |
Sounds amazing! Thanks @kubapelc |
Co-authored-by: Harel M <harel.mazor@gmail.com>
Rename fields to camelCase, move it to a separate file
Fails other than raster-warped were caused by increasing pos matrix precision in mercator_transform to 64 bit floats
Co-authored-by: Harel M <harel.mazor@gmail.com>
@ibesora let me know if you have other concerns before I merge this into the globe branch. |
# Conflicts: # test/build/min.test.ts # test/integration/render/tests/projection/globe/raster-planet/expected-flaky.png # test/integration/render/tests/projection/globe/raster-warped/expected-win-flaky4.png
Let's remember to update the changelog with the breaking change that was done as part of this PR before we merge this to main and create version 5. It is tracked as part of #3834 in general. |
This PR adds:
Follow the links to read the writeup and see the globe custom layer examples. The custom layer args are now projection-dependent, are filled in by the transform class, and allow the user to write custom layers that under both projections.