ESRI.ArcGIS.ADF.Web.UI.WebControls
Level Property
See Also  Send Feedback
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;}

Property 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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.