Feature QML Type
Base type for a single feature from a FeatureTable. More...
|Import Statement:||import Esri.ArcGISRuntime|
- attributes : AttributeListModel
- featureObjectType : Enums.FeatureObjectType
- featureTable : FeatureTable
- geometry : Geometry
- bool refresh()
Note: You cannot declare or create a component of this type in QML code.
A feature is a representation of a real-world object, such as a polygon to that represents a land parcel or a point that represents a location. All features have a fixed schema, which may contain:
- A list model of attributes of the real-world entity it represents.
- A geometry which describes the location and the shape of the entity.
Types that inherit from Feature have additional capabilites to support their specific uses.
attributes : AttributeListModel
A list model of all feature attributes and values.
featureObjectType : Enums.FeatureObjectType
Returns the feature type (read-only).
See also Enums.FeatureObjectType.
featureTable : FeatureTable
Returns the feature table that this feature came from (read-only).
geometry : Geometry
The feature's geometry.
Emitted when the geometry property of this Feature changes.
Note: The corresponding handler is
Resets the attributes and geometry to the values in the data source, returning
true on success or
Discards any in-memory changes to the Feature that have not been applied to the table, and reloads the Feature geometry and all attributes.
This method was introduced in Esri.ArcGISRuntime 100.4.