Package | com.esri.bao |
Class | public class PointLayer |
Inheritance | PointLayer BADataLayer Object |
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.
Property | Defined By | ||
---|---|---|---|
featureSet : FeatureSet
Feature record set. | BADataLayer | ||
points : Array
Array of PointRecord type items. | PointLayer | ||
spatialReference : SpatialReference
A spatial reference. | PointLayer |
Method | Defined By | ||
---|---|---|---|
PointLayer(dataLayer:Object = null)
Creates a new instance of a data layer with a point geometry. | PointLayer |
points | property |
points:Array
Array of PointRecord type items.
This property is specified together with the spatialReference
property.
public function get points():Array
public function set points(value:Array):void
See also
spatialReference | property |
spatialReference:SpatialReference
A spatial reference.
This property is specified together with the points
property.
The default value is GCS_WGS_1984 (WKID 4326)
.
public function get spatialReference():SpatialReference
public function set spatialReference(value:SpatialReference):void
See also
PointLayer | () | Constructor |
public function PointLayer(dataLayer:Object = null)
Creates a new instance of a data layer with a point geometry.
ParametersdataLayer:Object (default = null ) — An instance of the FeatureSet or an array of PointRecord type items.
|