-
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.
A polygon, which is a closed figure on the surface of the Earth.
Interpolatable: no
show - Boolean Whether or not the polygon is shown.
Default: true
positions - PositionList - Required The array of positions defining a simple polygon.
height - Double
The height of the polygon when perPositionHeight
is false.
Default: 0.0
extrudedHeight - Double The extruded height of the polygon.
stRotation - Double The rotation of any applied texture. A positive rotation is counter-clockwise.
Default: 0.0
granularity - Double The sampling distance, in radians.
Default: PI / 180.0
fill - Boolean Whether or not the polygon is filled.
Default: true
material - Material The material to use to fill the polygon.
Default: solid white
outline - Boolean Whether or not the polygon is outlined.
Default: false
outlineColor - Color The color of the polygon outline.
Default: black
outlineWidth - Double The width of the polygon outline.
Default: 1.0
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.
Default: false
closeTop - Boolean Whether to close the top of the polygon.
Default: true
closeBottom - Boolean Whether to close the bottom of the polygon.
Default: true
shadows - ShadowMode Whether or not the polygon casts or receives shadows.
Default: DISABLED
distanceDisplayCondition - DistanceDisplayCondition The display condition specifying the distance from the camera at which this polygon will be displayed.