Ejemplo n.º 1
0
        void textt_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            if (geoQ.IsBusy == true)
            {
                geoQ.CancelAsync();
            }
            // Set the geo coordinate for the query
            geoQ.GeoCoordinate = map1.Center;

            geoQ.QueryAsync();
            Debug.WriteLine("RevGeocodeAsync started for location: ");
        }
Ejemplo n.º 2
0
        public PostItinerary()
        {
            InitializeComponent();
            mapPostItinerary.IsEnabled = false;
            //this.Cursor = Cursors.Wait;
            //RevCode for current Location and show on Start TextBox
            geoQ = new ReverseGeocodeQuery();
            geoQ.QueryCompleted += geoQ_QueryCompleted;
            if (geoQ.IsBusy == true)
            {
                geoQ.CancelAsync();
            }
            // Set the geo coordinate for the query


            InitCurrentLocationInfo();
        }
Ejemplo n.º 3
0
        public PostItinerary()
        {
            InitializeComponent();
            mapPostItinerary.IsEnabled = false;
            //this.Cursor = Cursors.Wait;
            //RevCode for current Location and show on Start TextBox
            geoQ = new ReverseGeocodeQuery();
            geoQ.QueryCompleted += geoQ_QueryCompleted;
            if (geoQ.IsBusy == true)
            {
                geoQ.CancelAsync();
            }
            // Set the geo coordinate for the query


            InitCurrentLocationInfo();

        }