public async void KoordinatBel() { Geolocator location = new Geolocator(); try { location.DesiredAccuracy = PositionAccuracy.High; Geoposition pos = await location.GetGeopositionAsync(); var lat = pos.Coordinate.Latitude; var lang = pos.Coordinate.Longitude; MessageDialog yeni = new MessageDialog(lang.ToString() + ' ' + lat.ToString()); yeni.ShowAsync(); } catch (System.UnauthorizedAccessException) { } }
Geolocator
GetGeopositionAsync
PositionChanged
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)