Packagecom.esri.bao
Classpublic class PointLayer
InheritancePointLayer Inheritance BADataLayer Inheritance Object

The PointLayer class specifies a Community Analyst data layer with the point geometry.

An instance of this class can be composed of a FeatureSet (Feature Record Set) instance or an array of PointRecord items. The featureSet and points properties are mutually exclusive. If the points property is specified, the spatialReference property should be also specified.



Public Properties
 PropertyDefined By
 InheritedfeatureSet : FeatureSet
Feature record set.
BADataLayer
  points : Array
Array of PointRecord type items.
PointLayer
  spatialReference : SpatialReference
A spatial reference.
PointLayer
Public Methods
 MethodDefined By
  
PointLayer(dataLayer:Object = null)
Creates a new instance of a data layer with a point geometry.
PointLayer
Property Detail
pointsproperty
points:Array

Array of PointRecord type items. This property is specified together with the spatialReference property.


Implementation
    public function get points():Array
    public function set points(value:Array):void

See also

spatialReferenceproperty 
spatialReference:SpatialReference

A spatial reference. This property is specified together with the points property.

The default value is GCS_WGS_1984 (WKID 4326).


Implementation
    public function get spatialReference():SpatialReference
    public function set spatialReference(value:SpatialReference):void

See also

Constructor Detail
PointLayer()Constructor
public function PointLayer(dataLayer:Object = null)

Creates a new instance of a data layer with a point geometry.

Parameters
dataLayer:Object (default = null) — An instance of the FeatureSet or an array of PointRecord type items.