- The options object takes the following properties
- {Boolean} [options.show=true] true if this polyline will be shown; otherwise, false.
- {Number} [options.width=1.0] The width of the polyline in pixels.
- {Boolean} [options.loop=false] Whether a line segment will be added between the last and first line positions to make this line a loop.
- {Material} [options.material=Material.ColorType] The material.
- {Cartesian3[]} [options.positions] The positions.
- {Object} [options.id] The user-defined object to be returned when this polyline is picked.
A renderable polyline. Create this by calling PolylineCollection#add
alias Polyline
- The options object takes the following properties - {Boolean} [options.show=true]
true
if this polyline will be shown; otherwise,false
. - {Number} [options.width=1.0] The width of the polyline in pixels. - {Boolean} [options.loop=false] Whether a line segment will be added between the last and first line positions to make this line a loop. - {Material} [options.material=Material.ColorType] The material. - {Cartesian3[]} [options.positions] The positions. - {Object} [options.id] The user-defined object to be returned when this polyline is picked.PolylineCollection