Exemplo n.º 1
0
 private void Map_Loaded(object sender, RoutedEventArgs e)
 {            
     AddPinOnMap();
     DrawLinePathOnMap();
     getureR = new MapRotationGesture(mapJourney,true);
     getureR.SuppressMapGestures = true;
     getureR.touch = true;
     getureR.test();
 }
Exemplo n.º 2
0
 protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
 {
     //mapRoute = null;
     //mapJourney = null;
     //query = null;
     //geo1 = null;
     //geo2 = null;
     getureR = null;
     getureR = new MapRotationGesture(mapJourney, false);
 }
Exemplo n.º 3
0
        protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
        {
            //getureR.SuppressMapGestures = false;
            //gestureBase.SuppressMapGestures = false;
            //getureR = null;


            getureR = null;
            getureR = new MapRotationGesture(mapJourney, false);
           // getureR.touch = false;
        }