属性添加

This commit is contained in:
2025-07-17 18:29:09 +08:00
parent 60378db79d
commit 9e0a43a75f
2 changed files with 10 additions and 9 deletions

View File

@ -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,