-
Notifications
You must be signed in to change notification settings - Fork 143
Rectangle
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 cartographic rectangle, which conforms to the curvature of the globe and can be placed on the surface or at altitude and can optionally be extruded into a volume.
Interpolatable: no
show - Boolean
Whether or not the rectangle is shown.
Default: true
coordinates - RectangleCoordinates - Required
The coordinates of the rectangle.
height - Double
The height of the rectangle.
Default: 0.0
heightReference - HeightReference
The height reference of the rectangle, which indicates if height
is relative to terrain or not.
Default: NONE
extrudedHeight - Double
The extruded height of the rectangle.
extrudedHeightReference - HeightReference
The extruded height reference of the rectangle, which indicates if extrudedHeight
is relative to terrain or not.
Default: NONE
rotation - Double
The rotation of the rectangle clockwise from north.
Default: 0.0
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: π / 180.0
fill - Boolean
Whether or not the rectangle is filled.
Default: true
material - Material
The material to display on the surface of the rectangle.
Default: solid white
outline - Boolean
Whether or not the rectangle is outlined.
Default: false
outlineColor - Color
The color of the rectangle outline.
Default: black
outlineWidth - Double
The width of the rectangle outline.
Default: 1.0
shadows - ShadowMode
Whether or not the rectangle casts or receives shadows.
Default: DISABLED
distanceDisplayCondition - DistanceDisplayCondition
The display condition specifying at what distance from the camera this rectangle will be displayed.
classificationType - ClassificationType
Whether a classification affects terrain, 3D Tiles, or both.
Default: BOTH
zIndex - Integer
The z-index of the rectangle, used for ordering ground geometry. Only has an effect if the rectangle is constant, and height
and extrudedHeight
are not specified.
Default: 0