internal constructor new Cesium.Polyline()

Create this by calling PolylineCollection#add. Do not call the constructor directly.
一个可转换的多线.
See:

Members

distanceDisplayCondition : DistanceDisplayCondition

获取或设置条件, 指定此多线显示在相机的距离 .
Default Value: undefined

id : *

选择多线时获取或设置用户定义的值.

loop : boolean

获取或设定在第一和第二多线位置之间是否会添加一条线段 .

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>

获取或设置多线的位置.
Example:
polyline.positions = Cesium.Cartesian3.fromDegreesArray([
    0.0, 0.0,
    10.0, 0.0,
    0.0, 20.0
]);

show : boolean

确定是否显示此多线 。 用于隐藏或显示多线, 相反 将其删除并重新添加到收藏中.

width : number

获取或设置多线的宽度.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.