Zooms to the specified MapItem.

Namespace:  ESRI.ArcGISExplorer.Mapping

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


public void ZoomTo(
	MapItem mapItem
Visual Basic (Declaration)
Public Sub ZoomTo ( _
	mapItem As MapItem _


Type: ESRI.ArcGISExplorer.Mapping..::.MapItem

The MapItem to zoom to.


This method uses the properties of the mapItem in order to navigate to the most appropriate viewing position. If the Viewpoint property has been set on the mapItem this will be used as the initial zooming criteria. If a viewpoint has not been set, the map will be navigated to the extent of the map item (or in the case of a Folder the combined extent of the Folder contents).

See Also