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
Now there is a scene in the project, when the user switches the map style, we need to redraw some layers on the map. The problem is that none of the event events in maplibregl can tell me that the new layer has been loaded and I can redraw now. I can only deal with this problem by setting a timer. It makes me feel very insecure.
The text was updated successfully, but these errors were encountered:
Thanks for taking the time to open this issue.
Please provide more details.
The above statement is very vague and hard to understand, it misses context, motivation, and other relevant information.
There is the style.load event which you can use and idle event too.
Now there is a scene in the project, when the user switches the map style, we need to redraw some layers on the map. The problem is that none of the event events in maplibregl can tell me that the new layer has been loaded and I can redraw now. I can only deal with this problem by setting a timer. It makes me feel very insecure.
The text was updated successfully, but these errors were encountered: