ArcGIS Runtime SDK for iOS
100.15
|
A representation of a real-world object on a map.
Instances of this class represent a real-world object on a map.
A feature is persisted in a feature table in a data store (such as a database or service) or in a map and features in the same data store or feature layer have a common attribute schema. A feature can contain a set of attributes (key-value pairs) providing more information about the real-world entity it represents. Attribute types supported are NSNull
, NSString
, NSDate
, and NSNumber
. All other attribute types will be ignored. A feature can also have a geometry which describes the location and the shape of the entity.
Instance Methods | |
(BOOL) | - refresh |
Properties | |
NSMutableDictionary< NSString *, id > * | attributes |
AGSFeatureTable * | featureTable |
AGSGeometry * | geometry |
- (BOOL) refresh |
Resets the attributes and geometry to the values in the data source. This will discards any in-memory changes to the feature that have not been applied to the table, and reloads the feature geometry and all attributes.
|
readnonatomicstrong |
A dictionary containing all the attributes. Attribute types supported are NSNull, NSString, NSDate, and NSNumber. Other attribute types will be ignored.
|
readnonatomicweak |
The dataset that this feature belongs to.
|
readwritenonatomicstrong |
The geometry that defines shape and location.