如何知道一幅MapX地图的范围,即最小经纬度和最大经纬度
怎知道一幅MapX地图的最小经纬度和最大经纬度 --------------------编程问答-------------------- Layer.Bounds property (Layer object)Purpose
This returns a Rectangle object representing the geographic extents (i.e. the minimum bounding rectangle) of all objects in the layer; does not apply to user draw layers.
Remarks
This property is useful if you want to zoom the map out far enough to show all objects in one layer.
'---------------------------------------------------------
Private Sub ViewEntireLayer(ViewLayer As MapXLib.Layer)
' Set the boundaries of the map view to be the boundaries
' of the given layer
Map1.Bounds = ViewLayer.Bounds
End Sub --------------------编程问答-------------------- 楼上说的应该是某个图层的Bounds
整个地图的bounds应该是layers.Bounds --------------------编程问答-------------------- http://202.193.163.252/dlxxxt/%E7%AC%AC12%E7%AB%A0.ppt#263,4,幻灯片 4 --------------------编程问答-------------------- http://202.193.163.252/dlxxxt/%E7%AC%AC12%E7%AB%A0.ppt#263,4,幻灯片 4 --------------------编程问答-------------------- 看看帮助吧
map对象 --------------------编程问答-------------------- thanks
我试试
补充:企业软件 , 地理信息系统