Package | com.esri.tracking.connector.geometry |
Class | public class TmsPolyline |
Inheritance | TmsPolyline ![]() ![]() |
Property | Defined 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 |
Method | Defined 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 |
gml | property |
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.
public function get gml():String
paths | property |
paths:Array
[read-only]
An array of paths making up this Polyline. Each path is a collection of
TmsPoint
objects.
public function get paths():Array
See also
type | property |
type:GeometryType
[read-only] [override]
The type of geometry. In this case this is a GeometryType.POLYLINE
public function get type():GeometryType
TmsPolyline | () | Constructor |
public function TmsPolyline(gml:String)
The constructor.
Parametersgml:String — The GML representing the Polyline. In GML, this is a MultiLine.
|
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.
|
TmsPolyline — The TmsPolyline created.
|