Describes a polyline defined as a line strip. The first two positions define a line segment,
and each additional position defines a line segment from the previous position. The segments
can be linear connected points or great arcs.
alias PolylineGraphics
- The options object takes the following properties
- {Property} [options.positions] A Property specifying the array of Cartesian3 positions that define the line strip.
- {Property} [options.followSurface=true] A boolean Property specifying whether the line segments should be great arcs or linearly connected.
- {Property} [options.width=1.0] A numeric Property specifying the width in pixels.
- {Property} [options.show=true] A boolean Property specifying the visibility of the polyline.
- {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to draw the polyline.
- {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the angular distance between each latitude and longitude if followSurface is true.
Describes a polyline defined as a line strip. The first two positions define a line segment, and each additional position defines a line segment from the previous position. The segments can be linear connected points or great arcs.
alias PolylineGraphics
- The options object takes the following properties - {Property} [options.positions] A Property specifying the array of Cartesian3 positions that define the line strip. - {Property} [options.followSurface=true] A boolean Property specifying whether the line segments should be great arcs or linearly connected. - {Property} [options.width=1.0] A numeric Property specifying the width in pixels. - {Property} [options.show=true] A boolean Property specifying the visibility of the polyline. - {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to draw the polyline. - {Property} [options.granularity=Cesium.Math.RADIANS_PER_DEGREE] A numeric Property specifying the angular distance between each latitude and longitude if followSurface is true.
Entity demo Sandcastle Polyline Demo