Centers the map on the given geometry and zooms to the specified scale.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)
Syntax
C# |
---|
public void ZoomToMapScale( double mapScale, Geometry geometry ) |
Visual Basic (Declaration) |
---|
Public Sub ZoomToMapScale ( _ mapScale As Double, _ geometry As Geometry _ ) |
Parameters
- mapScale
- Type: System..::.Double
The scale to zoom to.
- geometry
- Type: ESRI.ArcGISExplorer.Geometry..::.Geometry
The geometry to center on.
Remarks
Using this method in 3D display mode will zoom to an approximated altitude based on the specified mapScale.