Constructor
new KmlPolygon(options)
Constructs an KmlPolygon. Application usually don't call this constructor. It is called by KmlFile as
Objects from KmlFile are read. It is concrete implementation.
It is Polygon and KmlGeometry.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
- See:
Throws:
-
If either the node is null or undefined.
- Type
- ArgumentError
Members
(readonly) kmlAltitudeMode :String
It explains how we should treat the altitude of the polygon. Possible choices are explained in:
https://developers.google.com/kml/documentation/kmlreference#point
Type:
- String
- Source:
(readonly) kmlCenter :Position
It returns center of outer boundaries of the polygon.
Type:
- Source:
(readonly) kmlExtrude :Boolean
In case that the polygon is above ground, this property decides whether there is going to be a line to
the ground.
Type:
- Boolean
- Source:
(readonly) kmlOuterBoundary :KmlLinearRing
Outer boundary of this polygon represented as a LinearRing.
Type:
- Source:
(readonly) kmlTessellate :Boolean
Whether tessellation should be used for current node.
Type:
- Boolean
- Source:
Methods
createPolygon(styles)
Internal use only. Once create the instance of actual polygon.
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
styles |
Object | null |
Properties
|
- Source:
getStyle()
- Source:
getTagNames()
- Source:
prepareAttributes()
- Source:
prepareLocations()
- Source:
render()
- Source: