ArcGIS Runtime SDK for iOS: AGSFeature Class Reference
ArcGIS Runtime SDK for iOS  100.6
AGSFeature Class Reference

Description

Instances of this class represent a geographic feature on a map.

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.

Since
100
Inheritance diagram for AGSFeature:
AGSObject <AGSGeoElement> AGSArcGISFeature

Instance Methods

(BOOL) - refresh
 

Properties

NSMutableDictionary< NSString *, id > * attributes
 
AGSFeatureTablefeatureTable
 
AGSGeometrygeometry
 

Method Documentation

§ refresh()

- (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.

Returns
a value indicating whether the geometry or attributes were updated.
Since
100.4

Property Documentation

§ attributes

- (NSMutableDictionary<NSString*,id>*) attributes
readnonatomicstrong

A dictionary containing all the attributes. Attribute types supported are NSNull, NSString, NSDate, and NSNumber. Other attribute types will be ignored.

Since
100

§ featureTable

- (AGSFeatureTable*) featureTable
readnonatomicweak

The dataset that this feature belongs to

Since
100

§ geometry

- (AGSGeometry*) geometry
readwritenonatomicstrong

The geometry that defines shape and location.

Since
100