Packagecom.esri.tracking.connector.geometry
Classpublic class TmsPolyline
InheritanceTmsPolyline Inheritance TmsGeometry Inheritance Object

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



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

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


Implementation
    public function get gml():String
pathsproperty 
paths:Array  [read-only]

An array of paths making up this Polyline. Each path is a collection of TmsPoint objects.


Implementation
    public function get paths():Array

See also

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

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


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

The constructor.

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

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

Parameters

gml:String — The GML representing the Polyline. In GML, this is a MultiLine.

Returns
TmsPolyline — The TmsPolyline created.