예제 #1
0
 public MvxGeoLocation()
 {
     Coordinates = new MvxCoordinates();
 }
예제 #2
0
 public MvxGeoLocation()
 {
     Coordinates = new MvxCoordinates();
 }
        private MvxGeoLocation ConvertToMvxGeoLocation(GpsData gpsData)
        {
            var coordinates = new MvxCoordinates {
                Latitude = gpsData.Latitude, 
                Longitude = gpsData.Longitude,
                Speed = ComputeSpeed(),
                Heading = ComputeHeading()
            };

            return new MvxGeoLocation {Coordinates = coordinates};
        }