Hi,
I have a simple form with 2 textboxes in which I am showing GPS locatin in DD.
that thing works fine but, when I try to convert that GPS location to mobile cache spatialreference system the GPS is not connecting at all.. and getting time out error.
here is my working code,
txtLat.Text = mGpsConn.Latitude.ToString();
txtLong.Text = mGpsConn.Longitude.ToString();
here is the code for converting the GPS coordinate
Coordinate coordinate = new Coordinate();
coordinate = mobileCache1.SpatialReference.FromGps(mGpsConn.Longitude,mGpsConn.Latitude);
txtLat.Text = coordinate.Y
txtLong.Text = coordinate.X
Regards,