Package | com.esri.tracking.connector.geometry |
Class | public class TmsPolygon |
Inheritance | TmsPolygon ![]() ![]() |
Property | Defined 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 |
Method | Defined 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 |
gml | property |
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.
public function get gml():String
gmlPolygons | property |
gmlPolygons:Array
[read-only]
An array of GML Polygons making up this Polygon (MultiPolygon). Each element is
of type GmlPolygon
.
public function get gmlPolygons():Array
See also
type | property |
type:GeometryType
[read-only] [override]
The type of geometry. In this case this is a GeometryType.POLYGON
public function get type():GeometryType
TmsPolygon | () | Constructor |
public function TmsPolygon(gml:String)
The constructor.
Parametersgml:String — The GML representing the Polygon. In GML, this is a MultiPolygon.
|
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.
|
TmsPolygon — The TmsPolygon created.
|