Skip To Content ArcGIS for Developers Sign In Dashboard

Feature QML Type

Base type for a single feature from a FeatureTable. More...

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

GeoElement

Inherited By:

ArcGISFeature

Properties

Signals

Methods

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.


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.


Signal Documentation

attributesChanged()

Emitted when the attributes property of this Feature changes.


geometryChanged()

Emitted when the geometry property of this Feature changes.


Method Documentation

bool refresh()

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 QML method was introduced in Esri.ArcGISRuntime 100.4.



Feedback on this topic?