| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-03-06 17:33:41 |
| | | * @LastEditTime: 2023-03-06 17:39:12 |
| | | * @FilePath: \srs-police-affairs\src\views\activity\index.vue |
| | | * @Description: 安保活 |
| | | * |
| | |
| | | position = new global.DC.Position(Number(position[0]), Number(position[1])) |
| | | chooseArrow = new global.DC.Billboard(position, `/img/icon/${iconImgName}.png`) |
| | | arrowsListLayer.addOverlay(chooseArrow) |
| | | let point = new global.DC.Point(position) |
| | | arrowsListLayer.addOverlay(point) |
| | | point.attrParams = { 'id': item.id, 'color': item.color, item } |
| | | point.on(global.DC.MouseEventType.CLICK, this.reeditArrowClick) |
| | | point.setStyle({ |
| | | "color": color, //颜色 |
| | | "outlineColor": color, //边框颜色 |
| | | "outlineWidth": 0, //边框大小, |
| | | "pixelSize": 32, |
| | | chooseArrow.attrParams = { 'id': item.id, 'color': item.color, item } |
| | | chooseArrow.setStyle({ |
| | | "material": color, |
| | | }) |
| | | chooseArrow.on(global.DC.MouseEventType.CLICK, this.reeditArrowClick) |
| | | // let point = new global.DC.Point(pointPosition) |
| | | // arrowsListLayer.addOverlay(point) |
| | | // point.attrParams = { 'id': item.id, 'color': item.color, item } |
| | | // point.on(global.DC.MouseEventType.CLICK, this.reeditArrowClick) |
| | | // point.setStyle({ |
| | | // "color": color, //颜色 |
| | | // "outlineColor": color, //边框颜色 |
| | | // "outlineWidth": 0, //边框大小, |
| | | // "pixelSize": 32, |
| | | // }) |
| | | } |
| | | |
| | | chooseArrow.attrParams = { 'id': item.id, 'color': item.color, item } |