mapbox-gl-js
mapbox-gl-js copied to clipboard
Globe is blank on Android
Introduced by this optimization: 7aa71e9af52971ffab762c4bcdca4fdac146963d, which changed terrain uniforms to only be added to shaders when terrain is enabled (previously they were also added with globe but no terrain.) One possibility is that a reference to an undefined uniform is creating undefined behavior.
mapbox-gl-js version: Current main and v2.10 branches
- Fixed in the release branch by https://github.com/mapbox/mapbox-gl-js/pull/12154
browser: Android Chrome and Firefox
Steps to Trigger Behavior
- Open a map on Android
- Set projection to globe and ensure terrain is disabled
Actual Behavior:
Acceptance Criteria:
The map renders correctly while we still keep the performance improvements introduced in 7aa71e9af52971ffab762c4bcdca4fdac146963d, as seen in this benchmark.