1.1.9 • Published 5 years ago
3m-object-lines v1.1.9
3m-object-lines
LINES
- .type:String
LINES
-唯一标识 - .isShow:Boole, //是否显示线路
- .paths:Array<lng:Number,lat:Number> - 路径
- .materialParameters:Object - 几何图形材质
- .linewidth: , - 宽度
- .color: , - 颜色
- .flow:Object - 流光配置
{
paths:[
[106.527977,29.614869],
[106.511498,29.622405],
[106.502914,29.608079],
[106.541538,29.601213],
[106.543083,29.621957]
],
materialParameters:{
color: 0xffaa00,
linewidth: 5,
},
flow: {
isOpen: true, //是否开启
color: 0x7FFF00, //颜色
segFlag: false, //是否分段
speed: 0.02, //流光速度
linewidth: 30, //流光宽度
segFlagNum: //流光分段
},
isShow: true, //是否显示线路
type:'LINES'
}
1.1.9
5 years ago