Hi,
My GUI "freezes" when it is plotting points (say 10 points) via inMemoryLayer. It "unfreezes" after all the points are being plotted. Is there any way to resolve this issue? Please advise, Thanks in advance. The structure of my codes is as follows:
private void startButton_Click() // start button click event
{
startButton.Enabled = false;
plotPoints();
// By the way, I tried to spin off another thread (thread safe codes are not included over here) to do the plotting, but it does not work as well.
// Thread thread = new Thread (new ThreadStart(plotPoints));
// thread.Start();
}
private void plotPoints() // function to plot points
{
// For loop
// plotting of points using inMemoryLayer in conjunction with Feature
// refresh map
}