private void GetCurrentPosition()
 {
     location.GetCurrentPosition(
         CurrentPositionSuccess,
         (error) => { },
         new GeolocationOptions()
     {
         EnableHighAccuracy = false
     }
         );
 }
예제 #2
0
 private void FindNearestAirport()
 {
     _locationService.GetCurrentPosition(PositionAvailable);
 }