Skip to content

Supported CZML

This page lists the CZML packets, graphics and properties supported by CZMLPlugin.

For the meaning of each property, see the CZML Guide.

Legend:

  • ✅ Supported
  • ⚠️ Partial support
  • ❌ Not supported

A property marked ❌ is ignored and the rest of its shape is still shown, except in the cases listed under Shapes that are left out.

NameStatus
id✅
delete❌
name⚠️ Read from the document packet only
parent❌
description❌
clock⚠️
version⚠️ Not checked
availability⚠️ One interval only; a packet with several is not shown
properties❌
position⚠️ Constant cartographicDegrees or cartographicRadians only; places the label, point or billboard
orientation❌
viewFrom❌

The packet whose id is "document" gives the name and the clock of the document. Every other packet shows each of its polygon, polyline and label.

NameStatus
interval✅
currentTime✅
multiplier✅
range✅
step❌

When the document packet has no clock.interval, CZMLDocument.clock gets an interval from the earliest start to the latest stop of the availabilities of the packets shown.

NameStatus
polygon⚠️
show⚠️ Constant only; a hidden graphic is not drawn
positions⚠️ Constant cartographicDegrees or cartographicRadians only
holes⚠️ Constant cartographicDegrees or cartographicRadians only
arcType❌
height⚠️ Constant 0 only; ignored with perPositionHeight
heightReference❌
extrudedHeight⚠️ Measured from the ellipsoid; with perPositionHeight, the flat bottom
extrudedHeightReference❌
stRotation❌
granularity❌
fill⚠️ Constant only; a polygon with an outline and no fill is left out
material⚠️ solidColor only
outline❌
outlineColor❌
outlineWidth❌
perPositionHeight⚠️ Constant only
closeTop❌
closeBottom❌
shadows❌
distanceDisplayCondition❌
classificationType❌
zIndex❌
polyline⚠️
show⚠️ Constant only; a hidden graphic is not drawn
positions⚠️ Constant cartographicDegrees or cartographicRadians only
arcType❌
width⚠️ Constant only; in texels of the surface tile with clampToGround
granularity❌
material⚠️ solidColor only
followSurface❌
shadows❌
depthFailMaterial❌
distanceDisplayCondition❌
clampToGround⚠️ Constant only; needs a raster or terrain layer to drape on
classificationType❌
zIndex❌
label⚠️
show⚠️ Constant only; a hidden graphic is not drawn
text⚠️ Constant only
font⚠️ Size in px or pt and the first family, which must be registered
style❌
scale❌
showBackground⚠️ Constant only
backgroundColor⚠️ Constant only; alpha is ignored
backgroundPadding❌
pixelOffset⚠️ Constant only
eyeOffset❌
horizontalOrigin⚠️ Constant only
verticalOrigin⚠️ Constant only; BASELINE is placed as BOTTOM
heightReference❌
fillColor⚠️ Constant only
outlineColor❌
outlineWidth❌
translucencyByDistance❌
pixelOffsetScaleByDistance❌
scaleByDistance❌
distanceDisplayCondition❌
disableDepthTestDistance❌
point⚠️
show⚠️ Constant only; a hidden graphic is not drawn
pixelSize⚠️ Constant only
heightReference❌
color⚠️ Constant only
outlineColor❌
outlineWidth❌
scaleByDistance❌
translucencyByDistance❌
distanceDisplayCondition❌
disableDepthTestDistance❌
billboard⚠️
show⚠️ Constant only; a hidden graphic is not drawn
image⚠️ Constant URI only; a relative URI is resolved against the document URL
scale⚠️ Constant only
pixelOffset⚠️ Constant only; not with sizeInMeters
eyeOffset❌
horizontalOrigin⚠️ Constant only
verticalOrigin⚠️ Constant only; BASELINE is placed as BOTTOM
heightReference❌
color⚠️ Constant only
rotation⚠️ Constant only
alignedAxis❌
sizeInMeters⚠️ Constant only
width❌
height❌
scaleByDistance❌
translucencyByDistance❌
pixelOffsetScaleByDistance❌
imageSubRegion❌
distanceDisplayCondition❌
disableDepthTestDistance❌
box❌
corridor❌
cylinder❌
ellipse❌
ellipsoid❌
model❌
path❌
polylineVolume❌
rectangle❌
tileset❌
wall❌

A boolean property such as perPositionHeight, clampToGround or showBackground is on for any truthy constant. A document that gives its booleans as strings therefore turns the property on with "True", and with "False" as well. An empty list in holes is ignored.

NameStatus
solidColor⚠️ color as rgba or rgbaf only
image❌
grid❌
stripe❌
checkerboard❌
polylineOutline❌
polylineArrow❌
polylineDash❌
polylineGlow❌

An unset material is opaque white.

A value is given either as a constant or as time-tagged samples: a list of a time followed by its value, where the time is an ISO 8601 string or a number of seconds from epoch. Only polygon.extrudedHeight and the color of a solidColor material can be sampled. A value given as a list of intervals or as a reference is not supported.

NameStatus
epoch✅
interpolationAlgorithm⚠️ LINEAR only
interpolationDegree❌
forwardExtrapolationType❌
forwardExtrapolationDuration❌
backwardExtrapolationType❌
backwardExtrapolationDuration❌

Every sampled value of a document must use the same sample times. Otherwise load() rejects. Before the first sample and after the last, the value of that sample is shown.

The following shapes are left out with a console warning, while the other shapes of the packet are still shown:

  • A polygon with neither extrudedHeight nor perPositionHeight, or with height
  • A polygon, polyline, label, point or billboard whose positions are sampled over time, or given as cartesian or as references
  • A polygon or polyline whose material is not solidColor
  • A polygon or polyline with a value whose interpolationAlgorithm is not LINEAR
  • A polyline whose width is sampled
  • A label whose text, fillColor, backgroundColor or pixelOffset is not constant
  • A label whose font gives its size in a unit other than px or pt
  • A point whose pixelSize or color is not constant
  • A billboard whose image, scale, pixelOffset, rotation or color is not constant
  • A billboard with a width or a height, or with sizeInMeters and a pixelOffset
  • A billboard whose image cannot be read as a URL

A packet whose availability has several intervals is left out as a whole, with a console warning. The graphics marked ❌ are reported the same way, with one warning per kind stating how many packets it was left out of.