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
Could this be because the data event (which triggers the sourcedata event) is fired immediately before the source.load event changes SourceCache._sourceLoaded to true ?
I thought that was the case, but a quick gut check to switch the function calls didn't change the result. But still it might need to be addressed after we figure out 👇 .
I think the root cause is that isSourceLoaded is set right when addSource is called via setEventedParent so sourceCache.loaded() is invoked only once, not every time the event fires like I believe was the intended behavior ??
The text was updated successfully, but these errors were encountered:
I think the root cause is that isSourceLoaded is set right when addSource is called via setEventedParent so sourceCache.loaded() is invoked only once, not every time the event fires like I believe was the intended behavior ??
I am having this issue with tilesets where data event never reports the layer as isSourceLoaded = true; Any advice on how I can achieve detecting when a tileset layer is fully loaded? I've spent days trying to find a solution and none work.
Could this be because the
data
event (which triggers thesourcedata
event) is fired immediately before thesource.load
event changesSourceCache._sourceLoaded
to true ?I thought that was the case, but a quick gut check to switch the function calls didn't change the result. But still it might need to be addressed after we figure out 👇 .
I think the root cause is that
isSourceLoaded
is set right whenaddSource
is called viasetEventedParent
sosourceCache.loaded()
is invoked only once, not every time the event fires like I believe was the intended behavior ??The text was updated successfully, but these errors were encountered: