예제 #1
0
        void map_MapPan(object sender, MapDragEventArgs e)
        {
            e.Handled = true;
            Point p2 = e.ViewportPoint;

            list_Dot.Add(map.ViewportPointToLocation(e.ViewportPoint));
            line.Locations.Add(map.ViewportPointToLocation(e.ViewportPoint));
        }
예제 #2
0
 public void MapDragged(object o, MapDragEventArgs e)
 {
     // TODO: We need to reload the listModels again
     zoomlevel = Map.ZoomLevel;
     follow    = false;
     if (App.thisApp._settings.VoterCount > 200) // This supports location-based filtering on large voter sets
     {
         wait.Set();
     }
 }
예제 #3
0
 private void Map_MapPan(object sender, MapDragEventArgs e)
 {
     if (this.mapWhereFi.IsDownloading == false)
     {
         this.DisableProgressBar();
     }
     else
     {
         this.EnableProgressBar();
     }
 }
예제 #4
0
 private void mMap_MapPan(object sender, MapDragEventArgs e)
 {
     Debug.WriteLine("Map_MapPan");
     if (mMap.IsDownloading)
     {
         prog.IsVisible = true;
         SystemTray.SetIsVisible(this, true);
     }
     else
     {
         prog.IsVisible = false;
         SystemTray.SetIsVisible(this, false);
     }
 }
 void _map_MapPan(object sender, MapDragEventArgs e)
 {
     // Nothing for now...
 }
예제 #6
0
 void map_MapPan(object sender, MapDragEventArgs e)
 {
     e.Handled = true;
     Point p2 = e.ViewportPoint;
     list_Dot.Add(map.ViewportPointToLocation(e.ViewportPoint));
     line.Locations.Add(map.ViewportPointToLocation(e.ViewportPoint));
 }
예제 #7
0
 private void mMap_MapPan_1(object sender, MapDragEventArgs e)
 {
 }
예제 #8
0
 void map_MapPan(object sender, MapDragEventArgs e)
 {
     _timer.Stop();
     _args.ZoomOrScroll = ZoomScrollType.Scroll;
     _args.Center = _map.ViewportPointToLocation(e.ViewportPoint);
     _changedByEvents = true;
 }
예제 #9
0
 private void Map_MapPan(object sender, MapDragEventArgs e)
 {
     if (this.mapRestArea.IsDownloading == false)
         this.DisableProgressBar();
     else
         this.EnableProgressBar();
 }
예제 #10
0
 private static void CancelMapPan(object sender, MapDragEventArgs e)
 {
     e.Handled = true;
 }
예제 #11
0
 private void map1_MapPan(object sender, MapDragEventArgs e)
 {
     e.Handled = true;
 }
 private void Map_MapPan(object sender, MapDragEventArgs e)
 {
     Debug.WriteLine("Map_MapPan");
     if (Map.IsDownloading)
     {
         prog.IsVisible = true;
         SystemTray.SetIsVisible(this, true);                
     }
     else
     {
         prog.IsVisible = false;
         SystemTray.SetIsVisible(this, false);
     }
 }
 void _map_MapPan(object sender, MapDragEventArgs e)
 {
     // Nothing for now...
 }
예제 #14
0
 private void map1_MapPan(object sender, MapDragEventArgs e)
 {
     e.Handled = true;
 }
예제 #15
0
 private void MainMapMapPan(object sender, MapDragEventArgs e)
 {
     this._viewModel.CenterMapGeoSet = true;
 }