ArcGIS Pro 自己加一个进度条
MyProgress.MyProgress myProgress = new MyProgress.MyProgress(1, "正在处理", true); try { await QueuedTask.Run(() => { Map map = null; if (MapView.Active != null) map = MapView.Active.Map; if (map != null) { Map map1 = MapFactory.Instance.CreateMap("MyMap", MapType.Map); ProApp.Panes.CreateMapPaneAsync(map1); } for (var idx = 0; idx < 1; idx++) { Task.Delay(200); } }); } finally { myProgress.Dispose(); }
====================也可以
ProgressDialog progDialog = new ProgressDialog("正在加载数据到地图");
progDialog.Show();
自己的内容
progDialog.Hide();