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
I run into a problem that when testing on UC browser (device: iphone6s) , the code below:
new mapboxgl.Map(opt);
It will throw an error: QuotaExceededError:Failed to construct 'Worker': Maximum worker number has been reached.
Is there any way to control or limit the number of workers for mapboxjs to solve this problem? I cant find any relative option from the doc
The text was updated successfully, but these errors were encountered:
You can limit the number of workers by setting mapboxgl.workerCount = <number>; before instantiating any maps, but we forgot to document this — good catch! Will be fixed by #7812.
I run into a problem that when testing on UC browser (device: iphone6s) , the code below:
new mapboxgl.Map(opt);
It will throw an error: QuotaExceededError:Failed to construct 'Worker': Maximum worker number has been reached.
Is there any way to control or limit the number of workers for mapboxjs to solve this problem? I cant find any relative option from the doc
The text was updated successfully, but these errors were encountered: