ArcGIS Runtime SDK for WPF - Library Reference
WebMapLayer Class Members
See Also  Properties  Methods  Events
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 PropertyFeatureCollectionGets 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 PropertyIdGets or sets the id of the layer in the webmap.  
public PropertyIsReferenceGets 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 PropertyItemIdGets or sets the id of an item containing default information for the layer. The item resides on the same portal as the webmap.  
public PropertyLayerDefinitionGets or sets a LayerDefinition object defining the attribute schema and drawing information for the layer. Used with CSV layers.  
public PropertyMaximumScaleGets or sets the maximum scale of the layer in the webmap.  
public PropertyMinimumScaleGets or sets the minimum scale of the layer in the webmap.  
public PropertyModeGets or sets the feature layer query mode. Only applies if the layer is a feature layer.  
public PropertyOpacityGets 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 PropertyPopupInfoGets or sets the popup definition for the layer.  
public PropertyRefreshIntervalGets or sets the layer refresh interval.  
public PropertyShowLegendGets or sets a value indicating whether to show legend.  
public PropertySubLayersGets 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 PropertyTitleGets or sets the title of the layer in the webmap.  
public PropertyTypeGets or sets the type of the layer.  
public PropertyUrlGets or sets the URL of the layer's backing service.  
public PropertyVisibilityGets a value indicating whether the layer is visible or not.  
public PropertyVisibleLayersGets or sets the sub-layer ids that should be visible.  
Top

Public Methods

 NameDescription
public MethodAddCustomPropertyAdds the custom property. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
public Methodstatic (Shared in Visual Basic)FromJsonCreates a WebMapLayer from a string in JSON format.  
public Methodstatic (Shared in Visual Basic)FromPortalItemAsyncCreates asynchronously a WebMapLayer from an ArcGIS Portal item. The portal item type must by a ESRI.ArcGIS.Client.Portal.ItemType.MapService or ESRI.ArcGIS.Client.Portal.ItemType.FeatureService.  
public Methodstatic (Shared in Visual Basic)FromPortalItemTaskAsyncCreates asynchronously a WebMapLayer from an ArcGIS Portal item using a task object. The portal item type must by a ESRI.ArcGIS.Client.Portal.ItemType.MapService or ESRI.ArcGIS.Client.Portal.ItemType.FeatureService.  
public MethodGetCustomPropertyGets the custom property. (Inherited from ESRI.ArcGIS.Client.WebMap.WebMapObject)
Top

Public Events

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

See Also

© ESRI, Inc. All Rights Reserved.