I have been suffering for 5 hours already, I can not guess how to do it:
In general, there is a code requesting the values (coordinates) of a marker. So, at the very beginning - the variables for it are zero, after the answer came from the server with the coordinates - it needs to be placed on the map. It is necessary to make a delay of about 3-4 seconds while not slowing down the rest of the application code. How can I do that?
Threadand execute the code in it after the delay throughsleep. - Maksim Bogdanov