Exemplo n.º 1
0
        public override void Click()
        {
            IHookOfAgileMap budgis = _hook as IHookOfAgileMap;

            if (budgis.MapControl == null || budgis.MapControl.Map == null)
            {
                return;
            }
            budgis.MapControl.SetCurrentMapTool(enumMapToolType.ZoomIn);
        }
Exemplo n.º 2
0
        public override void Click()
        {
            IHookOfAgileMap budgis = _hook as IHookOfAgileMap;

            if (budgis.MapControl == null || budgis.MapControl.Map == null)
            {
                return;
            }
            budgis.MapControl.ExtentPrj = budgis.MapControl.FullExtentPrj;
            budgis.MapControl.ReRender();
        }
Exemplo n.º 3
0
        public override void Click()
        {
            IHookOfAgileMap budgis = _hook as IHookOfAgileMap;

            if (budgis.MapControl == null)
            {
                return;
            }
            if (budgis.MapControl.MapRuntime.QueryResultContainer != null)
            {
                budgis.MapControl.MapRuntime.QueryResultContainer.ResultContainerVisible = !budgis.MapControl.MapRuntime.QueryResultContainer.ResultContainerVisible;
            }
        }