属性添加
This commit is contained in:
@ -139,6 +139,7 @@ class FlowLine extends Base {
|
|||||||
//创建线
|
//创建线
|
||||||
that.viewer.entities.add({
|
that.viewer.entities.add({
|
||||||
parent: celiangEntity,
|
parent: celiangEntity,
|
||||||
|
id: that.options.id + '-' + new Date().getTime() + index,
|
||||||
polyline: {
|
polyline: {
|
||||||
positions: [start, end],
|
positions: [start, end],
|
||||||
width: that.options.width,
|
width: that.options.width,
|
||||||
|
Reference in New Issue
Block a user