Skip to content

Polyline

Scott Hunter edited this page Mar 28, 2017 · 18 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.

Polyline

A polyline, which is a line in the scene composed of multiple segments.

Interpolatable: no

Properties

show - Boolean

Whether or not the polyline is shown.

Default: true

positions - PositionList

The array of positions defining the polyline as a line strip.

width - Double

The width of the polyline.

granularity - Double

The sampling distance, in radians.

material - PolylineMaterial

The material to use to draw the polyline.

followSurface - Boolean

Whether or not the positions are connected as great arcs (the default) or as straight lines.

Default: true

shadows - ShadowMode

Whether or not the polyline casts or receives shadows.

Default: DISABLED

Clone this wiki locally