Information about an individual layer in an ArcGIS feature service. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- allowGeometryUpdates : bool
- attribution : string
- capabilities : FeatureServiceCapabilities
- cimVersion : string
- dataVersioned : bool
- defaultSubtypeCode : var
- defaultVisibility : bool
- description : string
- displayFieldName : string
- drawingInfo : DrawingInfo
- editFieldsInfo : EditFieldsInfo
- effectiveMaxScale : double
- effectiveMinScale : double
- extent : Envelope
- featureSubtypes : list<FeatureSubtype>
- featureTemplates : list<FeatureTemplate>
- featureTypes : list<FeatureType>
- fields : list<Field>
- geometryType : Enums.GeometryTypes
- globalIdFieldName : string
- hasAttachments : bool
- hasM : bool
- hasZ : bool
- maxRecordCount : string
- maxRecordCountAsInt : int
- maxScale : double
- minScale : double
- objectIdFieldName : string
- ownershipBasedAccessControl : OwnershipBasedAccessControlInfo
- relationshipInfos : list<RelationshipInfo>
- serviceLayerId : string
- serviceLayerIdAsInt : int
- serviceLayerName : string
- serviceSourceType : Enums.ServiceType
- serviceType : Enums.ArcGISFeatureLayerInfoServiceType
- subtypeField : string
- supportsAdvancedQueries : bool
- supportsOBACForAnonymousUsers : bool
- supportsPagination : bool
- supportsQueryExtent : bool
- supportsRollbackOnFailureParameter : bool
- supportsStatistics : bool
- timeInfo : LayerTimeInfo
- typeIdFieldName : string
- url : url
- version : string
- zDefault : double
- zDefaultsEnabled : bool
Methods
- FeatureType featureType(string name)
- Field field(string fieldName)
Detailed Description
Note: You cannot declare or create a component of this type in QML code.
Property Documentation
Returns whether geometry of existing features can be updated (read-only).
capabilities : FeatureServiceCapabilities |
Returns the capabilities supported by the layer (read-only).
Returns the service's CIM version (read-only).
This property was introduced in Esri.ArcGISRuntime 100.4.
Returns the layer's default subtype code (read-only).
This property was introduced in Esri.ArcGISRuntime 100.3.
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).
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.
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).
Returns the type of geometry contained by features in the layer (read-only).
See also Enums.GeometryType.
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.
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.
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.
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.
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.
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.
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.
Returns the type of service, such as Map Service or Feature Service (read-only).
See also Enums.ServiceType.
Returns the type of layer or table in the service (read-only).
See also Enums.ArcGISFeatureLayerInfoServiceType.
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.
Returns whether the service supports advanced query operations (such as ordering results, or returning distinct results) (read-only).
Returns whether the service supports Ownership Based Access Controls (OBAC) for anonymous users (read-only).
This property was introduced in Esri.ArcGISRuntime 100.3.
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.
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.
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).
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).
Returns the name of the field that contains the subtype information for each feature (read-only).
Returns defaut z-values for features created without a valid z-value (read-only).
Only applicable if zDefaultsEnabled is true
.
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.