-
Notifications
You must be signed in to change notification settings - Fork 143
Polygon
This page describes the possible content of a CZML document or stream. Please read CZML Structure for an explanation of how a CZML document is put together.
#Polygon
A polygon, which is a closed figure on the surface of the Earth.
Interpolatable: no
##Properties
show - Boolean
Whether or not the polygon is shown.
positions - PositionList
The array of positions defining a simple polygon.
material - Material
The material to use to fill the polygon.
height - Double
The height of the polygon when perPositionHeight
is false.
extrudedHeight - Double
The extruded height of the polygon.
granularity - Double
The sampling distance, in radians.
stRotation - Double
The rotation of any applied texture. A positive rotation is counter-clockwise.
fill - Boolean
Whether or not the polygon is filled.
outline - Boolean
Whether or not the polygon is outlined.
outlineColor - Color
The color of the polygon outline.
outlineWidth - Double
The width of the polygon outline.
perPositionHeight - Boolean
Whether to use the height of each position to define the polygon or to use height
as a constant height above the surface.