Share via


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

Parameters

Part

Description

object

Required. An expression that returns a Map object.

Remarks

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