ESRI.ArcGIS.ADF.Web.UI.WebControls
Level Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : Level Property




Level of detail when the map is working with a cached resource.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public Overridable Property Level As Integer
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim value As Integer
 
instance.Level = value
 
value = instance.Level
C# 
[BrowsableAttribute(false)]
public virtual int Level {get; set;}

Return Value

Current scale level of detail.

Remarks

The Level property will only be set when one or more of the Map's services is set up using a tiled cache. If the service uses a tiled cache, then the Map control will display maps only at the scale levels defined by the service and cache. These scale levels are also called levels of detail (LOD). The LOD starts at 0 (broadest scale, fewest tiles) and increases by whole integer values, with higher values indicating more detailed levels. The LODs are defined by the map service, and are not required to be at any particular scales. There is no pre-set number of LODs, this again being service-specific.



You can set the Level property to a valid LOD and map scale will change accordingly.

See Also

© 2010 All Rights Reserved.