I wrote an application with a map displayed in a map picture box.
Map is a 38MB ecw file.
I added a layer to this map.
I show or Hide this layer through Windows Message Check :
private void cbMessages_CheckedChanged(object sender, EventArgs e)
Layer.Enabled = !Layer.Enabled;
Refresh time is about 1 second : is it normal ?
Is there a better way to refresh only the layer that is much quicker ?
The same way, on another layer on that same mapImage, I draw a png picture (a point) to be shown on the previous layer.
I move this point every second. In the function, I need to use mapImage.Refresh() to show the point in its new position. But it takes about one second. Furthermore, during this time, mapImage_mouseMove is locked...
Is there another way to refresh only the layer that is much quicker ?
Thanks for your help,