Quote from: tim arnot on February 09, 2010, 04:59:51 PM
If you started Plan-G before running FS (on a single PC), try starting Plan-G AFTER you've run up FS. There is an MS bug in the window code that kills performance when a directX app is started.
The overlays are handled by the Google Maps overlays manager. Buffering, GDI+ etc is completely irrelevant.
Well, I guess their overlay code sucks then.
And im not just saying that. I've done my fair share of graphical coding in C# and GDI+.
In any case, my initial statement stands. Since you can see the overlays being drawn one at a time while it's refreshing.. it's pretty obvious that there's no double buffering or other optimization going on.
Have you atleast tried setting these "styles" on that control?
SetStyle(ControlStyles.UserPaint, true);
SetStyle(ControlStyles.AllPaintingInWmPaint, true);
SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
That should stop any "background erase" messages, and enable double buffering for that client window. That alone would speed it up. But then again, im not familiar with the google map control, so i dunno whats possible with it.
p.s. having to enter a captcha just to make a post is annoying as hell.