Skip To Content ArcGIS for Developers Sign In Dashboard

SubtypeFeatureLayer QML Type

A layer that can visualize feature data with different visibility, rendering, popup properties, and so on for some or all of the FeatureSubtype in an ArcGISFeatureTable. More...

Import Statement: import Esri.ArcGISRuntime 100.7
Since: Esri.ArcGISRuntime 100.7
Inherits:

FeatureLayer

Properties

Signals

Methods

Detailed Description

A SubtypeFeatureLayer may be initialized with an ArcGISFeatureTable. This can be provided as a default property to the class and will be assigned to the FeatureLayer::featureTable property. Note the type difference in that FeatureLayer::featureTable may be any FeatureTable but SubtypeFeatureLayer must be created from an ArcGISFeatureTable.

SubtypeFeatureLayer {
    id: subtypeFeatureLayer
    ServiceFeatureTable {
        url: "https://utilitynetwork.testportal.com/arcgis/rest/services/UtilityNetwork/ElectricGrid23/FeatureServer"
    }
}

See also FeatureLayer.

Property Documentation

subtypeSublayers : SubtypeSublayerListModel

Returns the list model of SubtypeSublayer in the SubtypeFeatureLayer.

The objects in this collection are the same objects in LayerContent::subLayerContents. The difference between the two collections is this collection is modifiable so the layer order is configurable.


Signal Documentation

subtypeSublayersChanged()

Emitted when the subtypeSublayers property changes.


Method Documentation

SubtypeSublayer sublayerWithSubtypeCode(var code)

Finds a SubtypeSublayer for a feature subtype based on the FeatureSubtype.code.

When working with a particular ArcGISFeature, the FeatureSubtype.code is the value of the ArcGISFeatureLayerInfo::subtypeField field. The corresponding SubtypeSublayer can be found using the value of that field.


SubtypeSublayer sublayerWithSubtypeName(string name)

Finds a SubtypeSublayer for a feature subtype based on the subtype name.



Feedback on this topic?