Packagecom.esri.bacore.domain
Classpublic class GeographyStudyArea
InheritanceGeographyStudyArea Inheritance StudyArea Inheritance flash.events.EventDispatcher
Implements IGeographyStudyArea

Since : Community Analyst API for Flex 2.2.

The GeographyStudyArea class is the default implementation of IGeographyStudyArea interface.



Public Properties
 PropertyDefined By
 Inheriteddescription : String
Study area description.
StudyArea
 InheritedfeatureSet : FeatureSet
Feature set associated with this study area.
StudyArea
  geographies : IList
List of geography features consisting of IGeographyFeature items.
GeographyStudyArea
 Inheritedid : String
Study area ID.
StudyArea
 Inheritedname : String
Study area name.
StudyArea
Public Methods
 MethodDefined By
  
Creates a new instance of the GeographyStudyArea class.
GeographyStudyArea
 Inherited
readExternal(input:IDataInput):void
The class implements this method to decode itself from a data stream by calling the methods of the IDataInput interface.
StudyArea
 Inherited
toBoundaries(studyArea:IStudyArea, combineGeographyFeatures:Boolean = false):Object
[static] Converts a geography study area to a FeatureSet or StandardLayer instance.
StudyArea
  
toStandardLayer(studyArea:IGeographyStudyArea, combineFeatures:Boolean = false):StandardLayer
[static] Converts a geography study area to a new instance of the standard layer.
GeographyStudyArea
 Inherited
writeExternal(output:IDataOutput):void
The class implements this method to encode itself for a data stream by calling the methods of the IDataOutput interface.
StudyArea
Property Detail
geographiesproperty
geographies:IList

List of geography features consisting of IGeographyFeature items.

The list of geographies implemented in this class is an instance of the ArrayCollection class. When another collection is set as this property value, this collection is cleared and members of another collection are added to this collection.


Implementation
    public function get geographies():IList
    public function set geographies(value:IList):void

See also

Constructor Detail
GeographyStudyArea()Constructor
public function GeographyStudyArea()

Creates a new instance of the GeographyStudyArea class.

Method Detail
toStandardLayer()method
public static function toStandardLayer(studyArea:IGeographyStudyArea, combineFeatures:Boolean = false):StandardLayer

Converts a geography study area to a new instance of the standard layer.

The method tests that at least one geography feature has the specified level ID and there are no different level IDs in the geography features. If testing fails, the BARequestError error is thrown. If the studyArea is null or its list of geography features is empty, null value is returned.

Parameters

studyArea:IGeographyStudyArea — Geography study area to be converted.
 
combineFeatures:Boolean (default = false) — Whether to join ids of geography feature into one combined feature or not.

Returns
StandardLayer — A new standard layer or null.