查看特定几个图层
2015-06-10 10:33:08 访问(1375) 赞(0) 踩(0)
假定让lyr1和lyr2两个图层充满整个地图窗口:
Table[] ts= new Table[2];
ts[0] = lyr1.Table;
ts[1] = lyr2.Table;
IMapLayerFilter iml = MapLayerFilterFactory.FilterByTable(ts);
MapLayerEnumerator mle = mapControl1.Map.Layers.GetMapLayerEnumerator(iml);
mapControl1.Map.SetView(mle);
标签:
查看特定几个图层 


上一条:
下一条:
相关评论
发表评论