Hello.
I pull data from the SQL database at a regular interval, update the vehicles position and refresh the map.
However, the resultant effect is not what I have expected, because the map seems to be "blinking" at a regular interval.
May I know if there is any solution to this?
Thanks and Regards,
Bai
Map updating
Hi Bai,
Thanks for your post, we tried to recreat the “blinking” on our end, but it didn’t show up, attached is the test code on our end, would you please check if there are anything we missed?
Waiting for your further information
Best Regards
Summer
Post11897Sample.txt (1.36 KB)
Hello Summer.
Thanks for the response.
I didn’t adopt Timer, so basically, I grab data from database, plot and refresh map.
By the way, I uses threading, one thread to grab data and another to plot data.
May I know what could have cause the “blinking” ?
Bai
Hi Bai,
The map won’t “blinking” unless you refresh whole map each time.
Have you put your vehicles position in a special layer and only refresh this layer but instead refresh whole map?
Regards,
Don