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.
|
|
|
|
using KGIS.Framework.Views;
|
|
|
|
|
using Kingo.Plugin.MapView.Views.DataCalalog;
|
|
|
|
|
using UIShell.OSGi;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.Plugin.MapView.Services
|
|
|
|
|
{
|
|
|
|
|
public class MapsViewClass : IMapsView
|
|
|
|
|
{
|
|
|
|
|
private UcMapControl _ucMapCtrl;
|
|
|
|
|
private IDockPanel _ucDataCatalog;
|
|
|
|
|
public MapsViewClass(IBundleContext context)
|
|
|
|
|
{
|
|
|
|
|
_ucMapCtrl = new UcMapControl(context, null);
|
|
|
|
|
_ucDataCatalog = new UCLayerTree(context, _ucMapCtrl.getAxMapControl().Map);
|
|
|
|
|
}
|
|
|
|
|
public UcMapControl ucMapCtrl => _ucMapCtrl;
|
|
|
|
|
|
|
|
|
|
public IDockPanel ucDataCatalog => _ucDataCatalog;
|
|
|
|
|
|
|
|
|
|
public object Hook => _ucMapCtrl.Hook;
|
|
|
|
|
}
|
|
|
|
|
}
|