ArcGIS Explorer Component Help |
MapDisplay..::.ZoomTo Method (MapItem) |
MapDisplay Class See Also |
Zooms to the specified MapItem.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void ZoomTo( MapItem mapItem ) |
Visual Basic (Declaration) |
---|
Public Sub ZoomTo ( _ mapItem As MapItem _ ) |
Parameters
- mapItem
- Type: ESRI.ArcGISExplorer.Mapping..::.MapItem
The MapItem to zoom to.
Remarks
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).