| | |
| | | |
| | | addPlotOverlayData.attrParams = data |
| | | |
| | | this.$EventBus.$emit('layerPolygonArrowsAdd', { |
| | | layerName: 'newCarDrawLineLayers', |
| | | positions: positionNewArr, |
| | | material: color, |
| | | params: { ...data, item: data, data: data }, |
| | | }) |
| | | |
| | | this.$EventBus.$emit('layerPolygonAdd', { |
| | | layerName: 'newCarDrawLineLayers', |
| | | positions: positionStr, |
| | |
| | | overlay.attrParams.color = params.color |
| | | overlay.attrParams.width = params.width |
| | | overlay.attrParams.remark = params.remark |
| | | |
| | | this.$EventBus.$emit('layerPolygonArrowsAdd', { |
| | | layerName: 'newCarDrawLineLayers', |
| | | positions: linePosition, |
| | | material: color, |
| | | params: { ...overlay.attrParams, item: overlay.attrParams, data: overlay.attrParams }, |
| | | }) |
| | | |
| | | this.$EventBus.$emit('layerPolygonAdd', { |
| | | layerName: 'newCarDrawLineLayers', |