You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
827 B
30 lines
827 B
using ESRI.ArcGIS.Carto; |
|
using KGIS.Framework.Utils; |
|
|
|
namespace Kingo.Plugin.MapView.Views |
|
{ |
|
/// <summary> |
|
/// FrmAerialView.xaml 的交互逻辑 |
|
/// </summary> |
|
public partial class FrmAerialView : BaseWindow |
|
{ |
|
UcAerialView aerialVIew = null; |
|
public FrmAerialView(ILayer layer) |
|
{ |
|
InitializeComponent(); |
|
this.AllowsTransparency = false; |
|
if (aerialVIew == null) |
|
aerialVIew = new UcAerialView(); |
|
hostMapView.Child = aerialVIew; |
|
aerialVIew.InitView(layer); |
|
this.Closed += (s, e) => |
|
{ |
|
if (aerialVIew != null) |
|
{ |
|
hostMapView.Child = null; |
|
aerialVIew.Close(layer); |
|
} |
|
}; |
|
} |
|
} |
|
}
|
|
|