Exemplo n.º 1
0
        public async override void Initialize(INavigationParameters parameters)
        {
            base.Initialize(parameters);

            var location = await _mappingService.GetNewLocation();

            CenterPosition = MapSpan.FromCenterAndRadius(location.Position, Distance.FromMiles(10));



            _locations.Add(location);
        }
Exemplo n.º 2
0
 private void ExecuteAddLocation()
 {
     _locations.Add(_mappingService.GetNewLocation());
 }
Exemplo n.º 3
0
 private void  ExecuteAddLocationCommand() => _locations.Add(_mappingService.GetNewLocation());