ESRI.ArcGIS.ADF.Web.UI.WebControls | |
ZoomToDefaultExtent Method | |
See Also |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : ZoomToDefaultExtent Method |
Visual Basic (Declaration) | |
---|---|
Public Sub ZoomToDefaultExtent() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void ZoomToDefaultExtent() |
Some map services have a default extent that is not the full extent of all layers
and features. For ArcGIS Server, the default extent is taken from the extent of the map
as saved when authored in ArcMap (ArcGIS Desktop). For ArcIMS, the default extent is
taken from the extent of the map when saved in ArcIMS Author for image services, or
when saved in ArcMap for ArcMap services. The ArcIMS extent may also be modified in an
image service by setting or modifying the INITIAL_EXTENT envelope in the ArcXML (.axl)
service definition file.