Altitude property
Returns or sets the altitude of the current map view, in GeoUnits (miles or kilometers). Lower altitudes zoom closer to the map, showing a smaller area with more detail. Higher altitudes zoom out from the map, showing a larger area with less detail. Read/write Double.
Applies to
Objects: Map
Syntax
object.Altitude
Part | Description |
---|---|
object | Required. An expression that returns a Map object. |
Remarks
To return or set GeoUnits, use the Units property of an Application or MappointControl object.
Example
Sub ZoomInBySettingAltitude()
Dim objApp As New MapPoint.Application
'Set up the application
objApp.Visible = True
objApp.UserControl = True
'Zoom in by setting the map altitude
objApp.ActiveMap.Altitude = 10
End Sub