예제 #1
0
        public void FireExtentChanged(Ham.SpatialBase.BoundingBox currentExtent)
        {
            this.RaisePropertyChanged(nameof(CurrentExtent));

            this.OnExtentChanged?.Invoke(null, EventArgs.Empty);
        }
예제 #2
0
 public void ZoomToExtent(Ham.SpatialBase.BoundingBox boundingBox, Action callback = null)
 {
     this.RequestZoomToExtent?.Invoke(boundingBox, callback);
 }
예제 #3
0
 public static Rect AsRect(this Ham.SpatialBase.BoundingBox boundingBox)
 {
     return(new Rect(boundingBox.BottomRight.AsWpfPoint(), boundingBox.TopLeft.AsWpfPoint()));
 }