ArcGIS API for Silverlight - Library Reference
WebMapLayer Class Members
See Also  Properties  Methods  Events Send comments on this topic
ESRI.ArcGIS.Client.WebMap Namespace : WebMapLayer Class


The following tables list the members exposed by WebMapLayer.

Public Constructors

 NameDescription
public ConstructorWebMapLayer ConstructorInitializes a new instance of the WebMapLayer class.  
Top

Public Properties

 NameDescription
public PropertyFeatureCollection Gets or sets the feature collection for the layer. Only applicable if the layer is a feature collection. A feature collection is a representation of one or more feature layers, where each layer contains the definition of that layer and the features that belong to that layer.  
public PropertyId Gets or sets the id of the layer in the webmap.  
public PropertyIsReference Gets a value indicating whether the layer should be drawn on top of all other layers in the web map. Else, it should be drawn based on the order it was stored in the web map. This property only applies to basemap layers, not to operational layers.  
public PropertyItemId Gets or sets the id of an item containing default information for the layer. The item resides on the same portal as the webmap.  
public PropertyMaximumScale Gets or sets the maximum scale of the layer in the webmap.  
public PropertyMinimumScale Gets or sets the minimum scale of the layer in the webmap.  
public PropertyMode Gets or sets the feature layer query mode. Only applies if the layer is a feature layer.  
public PropertyOpacity Gets or sets the opacity of the layer. If the value is 1, the layer is fully opaque. If 0, the layer is fully transparent.  
public PropertyPopupInfo Gets or sets the popup definition for the layer.  
public PropertyShowLegend Gets or sets a value indicating whether to show legend.  
public PropertySubLayers Gets or sets the sub-layers of the layer. For example, if the layer is based on an ArcGIS map service. Each sublayer will have an id and optionally a popup definition.  
public PropertyTitle Gets or sets the title of the layer in the webmap.  
public PropertyType Gets or sets the type of the layer.  
public PropertyUrl Gets or sets the URL of the layer's backing service.  
public PropertyVisibility Gets a value indicating whether the layer is visible or not.  
public PropertyVisibleLayers Gets or sets the sub-layer ids that should be visible.  
Top

Public Methods

 NameDescription
public MethodAddCustomProperty Adds the custom property. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
public Methodstatic (Shared in Visual Basic)FromJson Creates a WebMapLayer from a string in JSON format.  
public MethodGetCustomProperty Gets the custom property. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
Top

Public Events

 NameDescription
public EventPropertyChanged Occurs when a property value changes. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
Top

See Also

© ESRI, Inc. All Rights Reserved.