ArcGIS Explorer Component Help |
MapDisplay..::.ZoomTo Method (Geometry, Double) |
MapDisplay Class See Also |
Centers the map on the given geometry and zooms to the specified altitude.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void ZoomTo( Geometry geometry, double altitude ) |
Visual Basic (Declaration) |
---|
Public Sub ZoomTo ( _ geometry As Geometry, _ altitude As Double _ ) |
Parameters
- geometry
- Type: ESRI.ArcGISExplorer.Geometry..::.Geometry
The geometry to center on.
- altitude
- Type: System..::.Double
The altitude to zoom to.
Remarks
Using this method in 2D display mode will zoom to an approximated scale based on the specified altitude.