I have my Winforms map setup to use multithreading, but when panning the map the icon layer (just a static layer storing some points) flashes. Now, I imagine this is because it's drawing the base map and then drawing the icon layer, and since it's multithreaded the difference in drawing both is visible as a slight flash. So is there anyway I can tell the map to only display the updated images once all layers have been drawn?
Basically, can I get the map to draw the tiles to a single buffer and then display that buffer? That way I would have the benefits of multithreading (able to use the UI while updating the map) and also get rid of the annoying flashing issue. I tried doing it myself by overriding onPaint, onCurrentExtentChanged, onCurrentScaleChanged, etc., but it didn't work all that well because it would still flash while panning.
Any help is appreciated