Centers the map on the given geometry and zooms to the specified zoom level.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public void ZoomTo(
	Geometry geometry,
	ZoomLevel zoomLevel
)
Visual Basic (Declaration)
Public Sub ZoomTo ( _
	geometry As Geometry, _
	zoomLevel As ZoomLevel _
)

Parameters

geometry
Type: ESRI.ArcGISExplorer.Geometry..::.Geometry

The geometry to center on.
zoomLevel
Type: ESRI.ArcGISExplorer.Mapping..::.ZoomLevel

The level to zoom to.

See Also