mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

Globe is blank on Android

Open SnailBones opened this issue 2 years ago • 0 comments

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

  1. Open a map on Android
  2. Set projection to globe and ensure terrain is disabled

Actual Behavior:

Screenshot from 2022-08-10 11-06-57

Acceptance Criteria:

The map renders correctly while we still keep the performance improvements introduced in 7aa71e9af52971ffab762c4bcdca4fdac146963d, as seen in this benchmark.

SnailBones avatar Aug 10 '22 23:08 SnailBones