ArcGIS Pro二次开发--增加数据到地图
作者:互联网
if (MapView.Active == null) return; Map map = MapView.Active.Map; if (map == null) return; try { string Layerurl = @"E:\ff\G48G082023.gdb\jfb10000注记"; //@"E:\ff\G48G082023.gdb\dltb3d_地类符号生成"; Uri uri = new Uri(Layerurl); await QueuedTask.Run(() => LayerFactory.Instance.CreateLayer(uri, map)); } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); }
标签:map,Map,Pro,ArcGIS,gdb,ex,二次开发,MapView,null 来源: https://www.cnblogs.com/gisoracle/p/12550452.html