You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Unfortunately there's nothing we can do on GL JS side to fix this problem — it's a browser limitation. You'll have to fix it on the application side, e.g. by reusing the same (hidden) streetview.
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
Expected Behavior
map is visible
Actual Behavior
map is blank
The text was updated successfully, but these errors were encountered: