Ejemplo n.º 1
0
 public MoveMapOperator(IApplicationContext appContext, GeoMapMgr geoMapMgr, GeoTileDrawMgr tileMgr)
 {
     this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext);
     this.m_Cursor = new Cursor(Huawei.UNet.Common.GlobalResource.GlobalResource.move.GetHicon());
     this.m_GeoMapMgr = geoMapMgr;
     this.m_TileMgr = tileMgr;
 }
Ejemplo n.º 2
0
 public GeometryTextOperator(List<IGeoVectorData> datas, GeoMapMgr mapMgr, IApplicationContext appContext)
 {
     this.m_VectorDatas = datas;
     this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext);
     this.m_GeoEntityRegionMgr = new GeoEntityRegionMgr(this.m_VectorDatas, mapMgr, this.m_Helper);
     this.InitContextMenuStrip();
 }
Ejemplo n.º 3
0
 public GeoEntityRegionMgr(List<IGeoVectorData> datas, GeoMapMgr mapMgr, IGeoSelectionHelper helper)
 {
     this.m_PathElementDict = new Dictionary<GraphicsPath, IGeoEntity>();
     this.m_WidenPen = new Pen(Color.Transparent, 6f);
     this.m_VectorDatas = datas;
     this.m_GeoMapMgr = mapMgr;
     this.BindDatasEvent(this.m_VectorDatas);
     this.m_Helper = helper;
 }
Ejemplo n.º 4
0
 public ZoomInRegionOperator(IApplicationContext appContext, GeoEventManager eventMgr, GeoMapMgr geoMapMgr)
 {
     this.m_Helper = ServiceHelper.Lookup<IGeoSelectionHelper>(appContext);
     this.m_Cursor = new Cursor(Huawei.UNet.Common.GlobalResource.GlobalResource.ZoomIn.GetHicon());
     this.m_EventMgr = eventMgr;
     this.m_GeoMapMgr = geoMapMgr;
     this.InitDrawingStyle();
     this.m_StartPlanePoint = new GeoXYPoint();
     this.m_SelectionPolygon = new GeoPolygon();
     this.m_SelectionRegion = new GeoPolygonRegion();
     this.m_SelectionRegion.AddGeoPolygon(this.m_SelectionPolygon);
 }
Ejemplo n.º 5
0
 public MapAdjust(GeoMapMgr geoMapMgr) : this()
 {
     this.m_GeoMapMgr = geoMapMgr;
     this.m_LayerDictionary = new Dictionary<string, GeoLayer>();
     this.InitialCmbLayerText();
 }
Ejemplo n.º 6
0
 public GeoEntityRegionMgr(IGeoVectorData data, GeoMapMgr mapMgr, IGeoSelectionHelper helper) : this(MakeDataList(data), mapMgr, helper)
 {
 }
Ejemplo n.º 7
0
 public ApplicationAgent(GeoMapMgr gisInterface, IApplicationContext appContext)
 {
     this.m_GeoMapMgr = gisInterface;
     this.m_AppContext = appContext;
 }