| Package | com.esri.ags |
| Class | public class FeatureSet |
| Inheritance | FeatureSet flash.events.EventDispatcher |
| Subclasses | DirectionsFeatureSet |
Default MXML Propertyfeatures
| 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 | ||
| fields : Array
The fields. | 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 Deprecated Since ArcGIS API for Flex 2.4: Please Use fromJSON() [static]
Convert from JSON to FeatureSet. | FeatureSet | ||
convertToJSON():String Deprecated Since ArcGIS API for Flex 2.4: Please Use toJSON()
Convert this FeatureSet to a JSON formatted String. | FeatureSet | ||
fromJSON(json:String):FeatureSet [static]
Convert from JSON to FeatureSet. | FeatureSet | ||
toJSON():String
Convert this FeatureSet to a JSON formatted String. | 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 is called. This property is usually bound to a DataGrid's dataProvider property. The binding is triggered whenever the features property is set.
This property can be used as the source for data binding.
public function get attributes():ArraySee also
| displayFieldName | property |
displayFieldName:StringThe display field name.
This property can be used as the source for data binding.
public function get displayFieldName():String public function set displayFieldName(value:String):void| features | property |
features:ArrayArray of graphic features.
This property can be used as the source for data binding.
public function get features():Array public function set features(value:Array):voidSee also
| fieldAliases | property |
fieldAliases:ObjectThe field aliases.
This property can be used as the source for data binding.
public function get fieldAliases():Object public function set fieldAliases(value:Object):void| fields | property |
fields:ArrayThe fields.
This property can be used as the source for data binding.
public function get fields():Array public function set fields(value:Array):voidSee also
| geometryType | property |
geometryType:StringThe geometry type of the feature.
This property can be used as the source for data binding.
public function get geometryType():String public function set geometryType(value:String):voidSee also
| spatialReference | property |
spatialReference:SpatialReferenceThe spatial reference of the features.
This property can be used as the source for data binding.
public function get spatialReference():SpatialReference public function set spatialReference(value:SpatialReference):void| 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.
Parameters
json:String — ArcGIS JSON String
|
FeatureSet — a new FeatureSet
|
| convertToJSON | () | method |
public function convertToJSON():StringConvert this FeatureSet to a JSON formatted String.
ReturnsString — JSON formatted String
|
| fromJSON | () | method |
public static function fromJSON(json:String):FeatureSetConvert from JSON to FeatureSet.
Parameters
json:String — ArcGIS JSON String
|
FeatureSet — a new FeatureSet
|
See also
| toJSON | () | method |
public function toJSON():StringConvert this FeatureSet to a JSON formatted String.
ReturnsString — JSON formatted String
|
See also