ArcGISFeatureLayerInfo QML Type

Information about an individual layer in an ArcGIS feature service. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Methods

Detailed Description

Note: You cannot declare or create a component of this type in QML code.

Property Documentation

allowGeometryUpdates : bool

Returns whether geometry of existing features can be updated (read-only).


attribution : string

Returns the attribution information (read-only).


Returns the capabilities supported by the layer (read-only).


cimVersion : string

Returns the service's CIM version (read-only).

This property was introduced in Esri.ArcGISRuntime 100.4.


dataVersioned : bool

Returns whether data in the service is versioned (read-only).


defaultSubtypeCode : var

Returns the layer's default subtype code (read-only).

This property was introduced in Esri.ArcGISRuntime 100.3.


defaultVisibility : bool

Returns whether the layer is visible by default (read-only).


description : string

Returns the description of the layer or table in the service (read-only).


displayFieldName : string

Returns the name of the field that is used to display a title for features in the layer (read-only).


drawingInfo : DrawingInfo

Returns information about how features in the service should be displayed on a map (read-only).


editFieldsInfo : EditFieldsInfo

Returns metadata specifying which fields or attributes of a feature contain information about who created/edited the feature and when was it created/edited (read-only).


effectiveMaxScale : double

Returns the maximum scale at which this layer or any of its parents is visible (read-only).

If the map is zoomed in beyond this scale, the layer will not be visible.

The maximum or minimum scale of a layer can be set individually, but at display time it will be overridden by the maximum or minimum scale of the parent layer if the parent layer has one.


effectiveMinScale : double

Returns the minimum scale at which this layer or any of its parents is visible (read-only).

If the map is zoomed out beyond this scale, the layer will not be visible.

The maximum or minimum scale of a layer can be set individually, but at display time it will be overridden by the maximum or minimum scale of the parent layer if the parent layer has one.


extent : Envelope

Returns the geographic extent this layer covers (read-only).


featureSubtypes : list<FeatureSubtype>

Returns a list of FeatureSubtype objects describing the subtypes of the layer (read-only).

This list is included for layers that have subtypes. The domains in the types list will match the domains in the subtype list for layers that have a unique value renderer based on the subtype column.

This property was introduced in Esri.ArcGISRuntime 100.3.


featureTemplates : list<FeatureTemplate>

Returns a list of feature templates for the layer (read-only).

Only present if the layer is based on an ArcGIS feature service and does not contain feature subtypes.


featureTypes : list<FeatureType>

Returns a list of feature types representing feature subtypes in the layer (read-only).

For example, a roads layer may contain 2 feature subtypes: highways and streets.


fields : list<Field>

Returns the attribute fields (columns) available in the data (read-only).


geometryType : Enums.GeometryTypes

Returns the type of geometry contained by features in the layer (read-only).

See also Enums.GeometryType.


globalIdFieldName : string

Returns the name of the field that contains the global ID (read-only).


hasAttachments : bool

Returns whether features in the layer may have attachments (read-only).


hasM : bool

Returns whether features in the layer may contain m-values (read-only).


hasZ : bool

Returns whether features in the layer may contain z-values (read-only).


maxRecordCount : string

Returns the maximum number of results returned by the service for any query operation (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

See also maxRecordCountAsInt.


maxRecordCountAsInt : int

The same as maxRecordCount but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This property was introduced in Esri.ArcGISRuntime 100.3.


maxScale : double

Returns the maximum scale at which this layer is visible (read-only).

If the map is zoomed in beyond this scale, the layer will not be visible.


minScale : double

Returns the minimum scale at which this layer is visible (read-only).

If the map is zoomed out beyond this scale, the layer will not be visible.


objectIdFieldName : string

Returns the name of the field that contains the object ID (read-only).


ownershipBasedAccessControl : OwnershipBasedAccessControlInfo

Returns information about ownership-based access policies governing who can edit, delete, and query features (read-only).


relationshipInfos : list<RelationshipInfo>

Returns a list of RelationshipInfo objects that describe this layer/table's relationship with another layer or table in the service (read-only).

This property was introduced in Esri.ArcGISRuntime 100.1.


serviceLayerId : string

Returns the ID of the layer or table in the service (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

See also serviceLayerIdAsInt.


serviceLayerIdAsInt : int

The same as serviceLayerId but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

This property was introduced in Esri.ArcGISRuntime 100.3.


serviceLayerName : string

Returns the name of the layer or table in the service (read-only).


serviceSourceType : Enums.ServiceType

Returns the type of service, such as Map Service or Feature Service (read-only).

See also Enums.ServiceType.


serviceType : Enums.ArcGISFeatureLayerInfoServiceType

Returns the type of layer or table in the service (read-only).

See also Enums.ArcGISFeatureLayerInfoServiceType.


subtypeField : string

Returns the layer's subtype field (read-only).

This is the field whose value determines the subtype of a feature. The value of this field corresponds to a subtype code for that feature.

This property was introduced in Esri.ArcGISRuntime 100.3.

See also FeatureSubtype::code.


supportsAdvancedQueries : bool

Returns whether the service supports advanced query operations (such as ordering results, or returning distinct results) (read-only).


supportsOBACForAnonymousUsers : bool

Returns whether the service supports Ownership Based Access Controls (OBAC) for anonymous users (read-only).

This property was introduced in Esri.ArcGISRuntime 100.3.


supportsPagination : bool

Returns whether the service supports paginated queries with a max features count and result offset (read-only).

This property was introduced in Esri.ArcGISRuntime 100.3.


supportsQueryExtent : bool

Returns whether the service supports queries for the extent of features meeting a specified criteria (read-only).

This property was introduced in Esri.ArcGISRuntime 100.4.


supportsRollbackOnFailureParameter : bool

Returns whether the service is capable of rolling back all edit operations in a batch if any one of the operations in the batch fails (read-only).


supportsStatistics : bool

Returns whether the service is capable of returning statistics for query results (read-only).


timeInfo : LayerTimeInfo

Returns temporal information for the layer such as start time field and end time field (read-only).


typeIdFieldName : string

Returns the name of the field that contains the subtype information for each feature (read-only).


url : url

Returns the URL of the layer (read-only).


version : string

Returns the version of the service (read-only).


zDefault : double

Returns defaut z-values for features created without a valid z-value (read-only).

Only applicable if zDefaultsEnabled is true.


zDefaultsEnabled : bool

Returns whether a default z-value will be applied for features created without a z-value (read-only).


Method Documentation

FeatureType featureType(string name)

A convenience method to find a feature type in a layer with a given name.


Field field(string fieldName)

A convenience method to find a field in a layer with a given fieldName.

Since Esri.ArcGISRuntime 100.1, the fieldName parameter only accepts a field name.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.