Exemplo n.º 1
0
 private void TrackOverlay_TrackStarting(object sender, TrackStartingTrackInteractiveOverlayEventArgs e)
 {
     if (mapModel.TrackMode == TrackMode.Line || mapModel.TrackMode == TrackMode.Polygon)
     {
         ClearMeasuresAndPopups();
     }
 }
 protected override void OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs e)
 {
     if (TrackMode == TrackMode.Circle)
     {
         textBlock.Visibility = Visibility.Visible;
     }
     base.OnTrackStarting(e);
 }
Exemplo n.º 3
0
        private void SelectionTrackOverlay_TrackStarting(object sender, TrackStartingTrackInteractiveOverlayEventArgs e)
        {
            var overlay = (SelectionTrackInteractiveOverlay)sender;

            overlay.TargetFeatureLayers.Clear();
            foreach (var featureLayer in GisEditor.ActiveMap.GetFeatureLayers(true))
            {
                overlay.TargetFeatureLayers.Add(featureLayer);
            }
        }
 protected override void OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs e)
 {
     isTracking = true;
     base.OnTrackStarting(e);
 }
Exemplo n.º 5
0
 private void AnnotationOverlay_TrackStarting(object sender, TrackStartingTrackInteractiveOverlayEventArgs e)
 {
     TakeSnapshot();
 }
 protected override void OnTrackStarting(TrackStartingTrackInteractiveOverlayEventArgs e)
 {
     if (TrackMode == TrackMode.Circle)
     {
         textBlock.Visibility = Visibility.Visible;
     }
     base.OnTrackStarting(e);
 }
 private void TrackOverlay_TrackStarting(object sender, TrackStartingTrackInteractiveOverlayEventArgs e)
 {
     if (mapModel.TrackMode == TrackMode.Line || mapModel.TrackMode == TrackMode.Polygon)
     {
         ClearMeasuresAndPopups();
     }
 }