I am getting the following error when our application is minimized.
The error reads: "The input double value is out of range. Parameter name: screenWidth"
The code that it fails on is being called when our timer elapses and updates our vehicle positions. When you have "Follow Mode" on to follow a specific vehicle the code keeps the vehicle centered using this code:
Dim
point
As
PointShape =
New
PointShape(objTrucksDTO.LONGITUDE, objTrucksDTO.LATITUDE)
mapCtrl.CenterAt(point)
The value of the PointShape is {-74.03665,41.48817,0} during this test. Again, this only fails when the screen is minimized.