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
In general, would it be possible for us to have ways for asynchronous calls to be able to have sync versions / a sync option? Or at least have it return a promise?
For example, I think just having loadImage return a promise would be great.
The text was updated successfully, but these errors were encountered:
Hi @rapicastillo, thanks for using Mapbox GL. Right now we don't have plans to introduce Promises to this library. You can see discussion about adding a synchronous option for GeoJSONSource#setData at #2275. If you have a feature request, please fill out the associated issue template and open a new issue.
Motivation
In general, would it be possible for us to have ways for asynchronous calls to be able to have sync versions / a sync option? Or at least have it return a promise?
For example, I think just having loadImage return a promise would be great.
The text was updated successfully, but these errors were encountered: