Hi!
I found the strange bug. Map isn't drag by mouse. All other function are workable.
I found, that resone is negative value of the field Timestamp in method OnMouseMove of class GMap.NET.WindowsPresentation.GMapControl. Therefore code
if(e.Timestamp - onMouseUpTimestamp < 55)
{
Debug.WriteLine("OnMouseMove skipped: " + ((uint)e.Timestamp - onMouseUpTimestamp) + "ms");
return;
}
isn't work properly.
I changed data type of variable onMouseUpTimestamp to uint and correct your code as
// Изменил тип данных на uint
if((uint)e.Timestamp - onMouseUpTimestamp < 55)
{
Debug.WriteLine("OnMouseMove skipped: " + ((uint)e.Timestamp - onMouseUpTimestamp) + "ms");
return;
}
and component has began to work properly.
OS Windows 8 64 bit, .NET Framework 3.5
Thank You for your job!
Good luck!
I found the strange bug. Map isn't drag by mouse. All other function are workable.
I found, that resone is negative value of the field Timestamp in method OnMouseMove of class GMap.NET.WindowsPresentation.GMapControl. Therefore code
if(e.Timestamp - onMouseUpTimestamp < 55)
{
Debug.WriteLine("OnMouseMove skipped: " + ((uint)e.Timestamp - onMouseUpTimestamp) + "ms");
return;
}
isn't work properly.
I changed data type of variable onMouseUpTimestamp to uint and correct your code as
// Изменил тип данных на uint
if((uint)e.Timestamp - onMouseUpTimestamp < 55)
{
Debug.WriteLine("OnMouseMove skipped: " + ((uint)e.Timestamp - onMouseUpTimestamp) + "ms");
return;
}
and component has began to work properly.
OS Windows 8 64 bit, .NET Framework 3.5
Thank You for your job!
Good luck!