public void FireExtentChanged(Ham.SpatialBase.BoundingBox currentExtent) { this.RaisePropertyChanged(nameof(CurrentExtent)); this.OnExtentChanged?.Invoke(null, EventArgs.Empty); }
public void ZoomToExtent(Ham.SpatialBase.BoundingBox boundingBox, Action callback = null) { this.RequestZoomToExtent?.Invoke(boundingBox, callback); }
public static Rect AsRect(this Ham.SpatialBase.BoundingBox boundingBox) { return(new Rect(boundingBox.BottomRight.AsWpfPoint(), boundingBox.TopLeft.AsWpfPoint())); }