超图组件之基础理解
文章已阅读次
Mapcontrol
官方注释:
Mapcontrol.This class is used to provide an interface for displaying the map, and you can provide ways for the data and the map’s Interoperability.
意思就是Mapcontrol这个类用于提供显示地图的接口,您可以为数据和地图的互操作性提供方法。
所以我们经常会看到如下代码:
1 | mapControl1.Map.Workspace = workspace1;//建立MapContorl和Workspace的连接 |
地图放大
1 | mapControl1.Action = SuperMap.UI.Action.ZoomIn; //地图放大 |