private async Task SetMap() { try { if (LocationGranted) { var currLoc = await _googleMapsApiService.GetCurrentLocation(); Map = new Map( MapSpan.FromCenterAndRadius( new Position(currLoc.Location.Latitude, currLoc.Location.Longitude), Distance.FromMiles(0.3))) { IsShowingUser = true, HeightRequest = 200, WidthRequest = 320, }; } else { Map = null; } } catch (Exception ex) { _quickMessageDependency.ShowToastMessage(ex.Message); } }