Packagecom.esri.tracking.connector.geometry
Classpublic class TmsPolygon
InheritanceTmsPolygon Inheritance TmsGeometry Inheritance Object

Represents a Polygon. Use this class to get the polygon field attributes for an observation with Polygon geometry type.



Public Properties
 PropertyDefined By
  gml : String
[read-only] The GML representing the Polygon.
TmsPolygon
  gmlPolygons : Array
[read-only] An array of GML Polygons making up this Polygon (MultiPolygon).
TmsPolygon
  type : GeometryType
[override] [read-only] The type of geometry.
TmsPolygon
Public Methods
 MethodDefined By
  
TmsPolygon(gml:String)
The constructor.
TmsPolygon
  
parseGML(gml:String):TmsPolygon
[static] A static function that parses GML and converts it to a TmsPolygon.
TmsPolygon
Property Detail
gmlproperty
gml:String  [read-only]

The GML representing the Polygon. In GML, this is a MultiPolygon. This must use the coordinates tag. The coord tag is not supported.


Implementation
    public function get gml():String
gmlPolygonsproperty 
gmlPolygons:Array  [read-only]

An array of GML Polygons making up this Polygon (MultiPolygon). Each element is of type GmlPolygon.


Implementation
    public function get gmlPolygons():Array

See also

typeproperty 
type:GeometryType  [read-only] [override]

The type of geometry. In this case this is a GeometryType.POLYGON


Implementation
    public function get type():GeometryType
Constructor Detail
TmsPolygon()Constructor
public function TmsPolygon(gml:String)

The constructor.

Parameters
gml:String — The GML representing the Polygon. In GML, this is a MultiPolygon.
Method Detail
parseGML()method
public static function parseGML(gml:String):TmsPolygon

A static function that parses GML and converts it to a TmsPolygon.

Parameters

gml:String — The GML representing the Polygon. In GML, this is a MultiPolygon.

Returns
TmsPolygon — The TmsPolygon created.