Exemple #1
0
        public async void ButtonSearchRouteTapped(object sender, TappedRoutedEventArgs e)
        {
            var options = new MapOptions
            {
                ShowTraffic = true,
                ViewStyle   = MapViewStyle.Aerial
            };

            await MapsHelper.SearchDirectionsAsync(new MapAddress("Montreal"), new MapAddress("Ottawa"), options);
        }
Exemple #2
0
 public async void ButtonSearchRouteToTapped(object sender, TappedRoutedEventArgs e)
 {
     await MapsHelper.SearchDirectionsAsync(null, new MapPosition(33.943538, -118.40812), null);
 }