Packagecom.esri.bacore.domain
Classpublic class GeographyFeature
InheritanceGeographyFeature Inheritance flash.events.EventDispatcher
Implements IGeographyFeature

Since : Community Analyst API for Flex 2.2.

The GeographyFeature class is the default implementation of IGeographyFeature interface.



Public Properties
 PropertyDefined By
  id : String
Feature ID.
GeographyFeature
  levelId : String
ID of a geography level.
GeographyFeature
  name : String
Feature name.
GeographyFeature
Public Methods
 MethodDefined By
  
Creates a new instance of the GeographyFeature class.
GeographyFeature
  
[static] Converts the geography feature to a new instance of the StandardLayer class.
GeographyFeature
Property Detail
idproperty
id:String

Feature ID.


Implementation
    public function get id():String
    public function set id(value:String):void
levelIdproperty 
levelId:String

ID of a geography level.


Implementation
    public function get levelId():String
    public function set levelId(value:String):void
nameproperty 
name:String

Feature name.


Implementation
    public function get name():String
    public function set name(value:String):void
Constructor Detail
GeographyFeature()Constructor
public function GeographyFeature()

Creates a new instance of the GeographyFeature class.

Method Detail
toStandardLayer()method
public static function toStandardLayer(feature:IGeographyFeature):StandardLayer

Converts the geography feature to a new instance of the StandardLayer class.

If feature level ID or feature ID is missing, the BARequestError error is thrown.

Parameters

feature:IGeographyFeature — Geography feature to be converted.

Returns
StandardLayer — A new instance of the standard layer.