Skip to content
Scott Hunter edited this page Jun 11, 2019 · 11 revisions

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.

Path

A path, which is a polyline defined by the motion of an object over time. The possible vertices of the path are specified by the position property. Note that because clients cannot render a truly infinite path, the path must be limited, either by defining availability for this object, or by using the leadTime and trailTime properties.

Interpolatable: no

Properties

show - Boolean

Whether or not the path is shown.

Default: true

leadTime - Double

The time ahead of the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.

trailTime - Double

The time behind the animation time, in seconds, to show the path. The time will be limited to not exceed the object's availability. By default, the value is unlimited, which effectively results in drawing the entire available path of the object.

width - Double

The width of the path line.

Default: 1.0

resolution - Double

The maximum step-size, in seconds, used to sample the path. If the position property has data points farther apart than resolution specifies, additional samples will be computed, creating a smoother path.

Default: 60.0

material - PolylineMaterial

The material to use to draw the path.

Default: solid white

distanceDisplayCondition - DistanceDisplayCondition

The display condition specifying at what distance from the camera this path will be displayed.

Clone this wiki locally