-
We have a feature that pops a google streetview (which apparently creates a new webgl context) in a modal on mapbox click. On the 16th click, the map goes blank. console reads "Too many active WebGL contexts. Oldest context will be lost."
-
Behavior on Firefox: generates a warning on 16th click, but map continues to display correctly.
-
Edge browsers on PC also does not experience this problem.
mapbox-gl-js version: api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-language/v0.10.0/mapbox-gl-language.js
browser: Chrome MacOS 70
Steps to Trigger Behavior
- click on mapbox 16 times to trigger rendering a google streeview each time.
- map goes blank
Expected Behavior
map is visible
Actual Behavior
map is blank