Base type for a single feature from a FeatureTable. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: | |
Inherited By: |
Properties
- attributes : AttributeListModel
- featureObjectType : Enums.FeatureObjectType
- featureTable : FeatureTable
- geometry : Geometry
Signals
Methods
- bool refresh()
Detailed Description
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.
Property Documentation
attributes : AttributeListModel |
A list model of all feature attributes and values.
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.
Signal Documentation
Emitted when the geometry property of this Feature changes.
Note: The corresponding handler is onGeometryChanged
.
Method Documentation
Resets the attributes and geometry to the values in the data source, returning true
on success or false
otherwise.
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.