Repository navigation
feat(core): graduate GlobeView, GlobeViewport and GlobeController - #11244
Conversation
Export GlobeView, GlobeViewport and GlobeController without the experimental underscore. The underscored names remain as deprecated aliases of the same classes, so existing imports and instanceof checks keep working. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Replace _GlobeView, _GlobeViewport and _GlobeController with their graduated names in modules, tests and test apps. Examples keep the underscored names until they depend on deck.gl v10. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Replace limitations that no longer hold (precision above zoom 12, the 'lnglat'-only restriction) with the ones measured on master: subdivision needs a resolution, all aggregation layers and MVTLayer polygon fills fail, and interleaved MapLibre globes can hide layers by depth. Co-Authored-By: Claude Opus 5.5 <[email protected]>
[Medium impact] The PR appears safe to merge. SummaryGraduates
charlieforward9 explicitly leaves three known limits unresolved: tiles below zoom 0, Reviews (1) · Last reviewed commit: "docs(core): update GlobeView limitations..." · Reviewed by Greptile |
ibgreen
left a comment
There was a problem hiding this comment.
One GlobeView docs correction for mixed views. I verified the current render-pass selection and viewport subdivision functions in a focused harness.
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
For #10712.
The v10 tracker lists
GlobeViewas a major feature, but it is still exported as_GlobeViewand documented as experimental. This graduates it, and rewrites its limitations from render and picking checks on master.Change List
GlobeView,GlobeViewportandGlobeController_GlobeView,_GlobeViewport,_GlobeControllerstay as deprecated aliases of the same classesdeck.glbundle and Jupyter widget: new names_GlobeViewuntil they depend on deck.gl v10Verified with the node suite, the headless and render specs that use the globe names, and the full headless suite.
TODO
MVTLayerpolygon fills are back-face culled on the globeQuestions
resolution: 0, tiles and polygons on the globe are flat. ShouldGlobeViewdefault to a resolution such as36?Note
Low Risk
Promotes experimental classes to stable exports while retaining underscored aliases for backwards compatibility, with no changes to core rendering logic.
Overview
Graduates
GlobeView,GlobeViewport, andGlobeControllerout of experimental status in@deck.gl/core,deck.gl, and@deck.gl/react. The previous underscored identifiers (_GlobeView,_GlobeViewport, and_GlobeController) remain exported as deprecated aliases for backwards compatibility.Internal imports across packages, test suites, and examples are updated to reference the canonical un-prefixed exports. In addition, the public documentation and upgrade guides have been updated to mark the globe APIs as fully supported, alongside refreshed descriptions of current capabilities and known limitations.
Reviewed by Cursor Bugbot for commit 945fae2. Bugbot is set up for automated code reviews on this repo. Configure here.