Open MarkEvans8 opened 2 months ago
I fixed a similar issue by starting everything with OnLoad
instead of OnReady
. It seems like OnReady
is more like AlmostReady
. I found the answer [here](https://learn.microsoft.com/en-us/answers/questions/1603928/onmapreadyasync()-style-is-not-done-loading).
I'm a newbie so please excuse any mistakes I have made by submitting this issue. I have not used Slack before, and I was unable to join the group there. My email address is mark@markevans.org if anyone needs to add me first.
I have found that the example file ClusterAggregates.razor often fails. It's inconsistent. The map always loads. But sometimes the bubble layer loads and sometimes it doesn't. When it fails, I get the following JS error:
I have also found that adding the following delay fixes the problem:
I'm wondering if there is a better way to avoid this issue?
To Reproduce
Expected behavior Load the bubble layer every time rather than just some of the time.
Desktop (please complete the following information):