| Package | com.esri.ags.tasks |
| Class | public class FeatureSet |
| Inheritance | FeatureSet flash.events.EventDispatcher |
| Subclasses | DirectionsFeatureSet |
| Property | Defined by | ||
|---|---|---|---|
| attributes : Array [read-only]
Array of Objects where each object holds the name-value pairs of field names and field values.
| FeatureSet | ||
| displayFieldName : String
The display field name.
| FeatureSet | ||
| features : Array
Array of graphic features.
| FeatureSet | ||
| fieldAliases : Object
The field aliases.
| FeatureSet | ||
| geometryType : String
The geometry type of the feature.
| FeatureSet | ||
| spatialReference : SpatialReference
The spatial reference of the features.
| FeatureSet | ||
| Method | Defined by | ||
|---|---|---|---|
|
FeatureSet(features:Array = null)
Creates a new FeatureSet.
| FeatureSet | ||
|
convertFromJSON(json:String):FeatureSet
[static]
Convert from JSON to FeatureSet [added in version 1.3].
| FeatureSet | ||
|
convertToJSON():String
Convert this FeatureSet to a JSON formatted String [added in version 1.3].
| FeatureSet | ||
| attributes | property |
attributes:Array [read-only]Array of Objects where each object holds the name-value pairs of field names and field values. The Objects are pointers to the Graphic.attributes property for each Graphic in the features Array. This property returns a new Array each time it's called. This property is usually bound to a DataGrid's dataProvider property. The binding is triggered whenever the features property is set. If the FeatureSet has an empty set of features, then this will return a null.
This property can be used as the source for data binding.
Implementation public function get attributes():Array
See also
| displayFieldName | property |
public var displayFieldName:StringThe display field name.
This property can be used as the source for data binding.
| features | property |
features:Array [read-write]Array of graphic features.
This property can be used as the source for data binding.
Implementation public function get features():Array
public function set features(value:Array):void
| fieldAliases | property |
public var fieldAliases:ObjectThe field aliases.
This property can be used as the source for data binding.
| geometryType | property |
public var geometryType:StringThe geometry type of the feature.
This property can be used as the source for data binding.
See also
| spatialReference | property |
public var spatialReference:SpatialReferenceThe spatial reference of the features.
This property can be used as the source for data binding.
| FeatureSet | () | constructor |
public function FeatureSet(features:Array = null)Creates a new FeatureSet.
Parametersfeatures:Array (default = null) — Optional array of features.
|
| convertFromJSON | () | method |
public static function convertFromJSON(json:String):FeatureSetConvert from JSON to FeatureSet [added in version 1.3].
Parametersjson:String — ArcGIS JSON String
|
FeatureSet —
a new FeatureSet
|
See also
| convertToJSON | () | method |
public function convertToJSON():StringConvert this FeatureSet to a JSON formatted String [added in version 1.3].
ReturnsString — JSON formatted String
|
See also