radioman / greatmaps

GMap.NET - Great Maps for Windows Forms & Presentation
916 stars 410 forks source link

Flickering on ReloadMap() #139

Open morixhub opened 5 years ago

morixhub commented 5 years ago

Hello. I am using the Windows Forms control in order to visualize map from a WMTS tiles server which re-generates the tiles every minute, in order to provide real-time info...

So, I armed a periodic timer in my application in order to periodically trigger a ReloadMap() and get updated tiles from the server (GMaps is configured for not using cache at all, nor storage or memory)... It works fine but I see that everytime I call ReloadMap() the control is cleared (the background color is shown for a while) and then I see (updated) tiles appearing after a while... Which is quite annoying...

Is there a way for reloading the map without such a flickering? I mean a way for invalidating tiles (and reload them from server) without clearing the old ones until the new ones are simply redrawn over the old ones?

Thanks + regards.