I have tried several Things to prevent Map from producing blank Images but was not able to handle the Problem.

Sometimes when I move inside the Map or change the zoom level my Screenshot appears to be blank. when I wait a bit, it works fine. I Have tried to write a bool variant if the OnDownloadFinish event is triggerd, and wait for that bool to be true before doing the Screenshot but does not solve the Problem.
Any suggestions?

best regards


Using a boolean flag to wait for the OnDownloadFinish event to be triggered is a good technique.
However, I have not been able to reproduce this issue.
Can you please provide exact instructions to reproduce the issue so I can further investigate this?