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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MapChange loading notifications are never sent #2263
@jfirebaugh For MapChangeDidFinishLoadingMap, should it be delayed until after the next successful asyncUpdate? I assume this is when we actually know things such as the marker top offset pixels value? (Needed in #2599)
@jfirebaugh in the commit ^ I tried triggering MapChangeDidFinishLoadingMap after the update(), but this is still too early. I need to wait for at least the sprite sheets to finish loading. Should we also wait for fonts to finish loading too?
I'm not familiar enough with the code to know how to wait for sprites/fonts to finish loading.
Activity
ljbade commentedon Oct 13, 2015
The obvious place to implement this is here:
mapbox-gl-native/src/mbgl/map/map_context.cpp
Lines 115 to 119 in 67f0108
@jfirebaugh For
MapChangeDidFinishLoadingMap, should it be delayed until after the next successfulasyncUpdate? I assume this is when we actually know things such as the marker top offset pixels value? (Needed in #2599)ljbade commentedon Oct 13, 2015
@jfirebaugh in the commit ^ I tried triggering
MapChangeDidFinishLoadingMapafter theupdate(), but this is still too early. I need to wait for at least the sprite sheets to finish loading. Should we also wait for fonts to finish loading too?I'm not familiar enough with the code to know how to wait for sprites/fonts to finish loading.
jfirebaugh commentedon Oct 13, 2015
Closing as a duplicate of #630; will comment there with implementation notes.