Beispiel #1
0
        private static void GetLocationError(Position pos)
        {
            if (pos != null && pos.Coords != null)
            {
                double lat = pos.Coords.Latitude;
                double lng = pos.Coords.Longitude;

            }
        }
Beispiel #2
0
 private static void GetLocation(Position pos)
 {
     Settings.GlobalSettings.LocationLat = pos.Coords.Latitude;
     Settings.GlobalSettings.LocationLng = pos.Coords.Longitude;
     Settings.GlobalSettings.LocationAltitude = pos.Coords.Altitude;
 }