예제 #1
0
        public override void Run()
        {
            IMap         map          = GIS.FrameWork.Application.App.Map;
            IMapFunction infoFunction = new InfoFunction(map);

            map.ActivateMapFunction(infoFunction);
            map.Refresh();
        }
예제 #2
0
        public override void Run()
        {
            DrawPolygonFunction drawPolygon = new DrawPolygonFunction(_map);

            drawPolygon.ConfigureParameters(false, false, new DrawPolygonFunction.OperatedDelegate(SelectByPolygon));
            _map.ActivateMapFunction(drawPolygon);
            _map.Refresh();
        }
예제 #3
0
        public override void Run()
        {
            IMap         _map          = GIS.FrameWork.Application.App.Map;
            IMapFunction DrawRectangle = new DrawRectangleFunction(_map);

            _map.ActivateMapFunction(DrawRectangle);
            _map.Refresh();
        }
예제 #4
0
        public override void Run()
        {
            IMap map = GIS.FrameWork.Application.App.Map;
            DrawPolygonFunction drawPolygon = new DrawPolygonFunction(map);

            drawPolygon.ConfigureParameters(true, false, null);
            map.ActivateMapFunction(drawPolygon);
            map.Refresh();
        }