A renderable polyline. Create this by calling
PolylineCollection#add
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Object with the following properties:
|
||||||||||||||||||||||||||||||||
polylineCollection |
PolylineCollection | The renderable polyline collection. |
See:
Members
distanceDisplayCondition : DistanceDisplayCondition
Gets or sets the condition specifying at what distance from the camera that this polyline will be displayed.
-
Default Value:
undefined
Gets or sets the user-defined value returned when the polyline is picked.
Gets or sets whether a line segment will be added between the first and last polyline positions.
material : Material
Gets or sets the surface appearance of the polyline. This can be one of several built-in
Material
objects or a custom material, scripted with
Fabric.
positions : Array.<Cartesian3>
Gets or sets the positions of the polyline.
Example:
polyline.positions = LSGlobe.Cartesian3.fromDegreesArray([
0.0, 0.0,
10.0, 0.0,
0.0, 20.0
]);
Determines if this polyline will be shown. Use this to hide or show a polyline, instead
of removing it and re-adding it to the collection.
Gets or sets the width of the polyline.