| | |
| | | } |
| | | coverage.attrParams = { id: params.id, color: params.color, item: params } |
| | | coverage.on(global.DC.MouseEventType.CLICK, this.reeditArrowClick) |
| | | |
| | | coverage.on(global.DC.MouseEventType.MOUSE_OVER, this.pointMouseOver) |
| | | coverage.on(global.DC.MouseEventType.MOUSE_OUT, this.pointMouseOut) |
| | | arrowsListLayer.addOverlay(coverage) |
| | | |
| | | return coverage |
| | | }, |
| | | |
| | |
| | | |
| | | if ( |
| | | e.overlay.attrParams.item && e.overlay.attrParams.item.type && |
| | | (e.overlay.attrParams.item.type == 6 || |
| | | ( |
| | | e.overlay.attrParams.item.type == 1 || |
| | | e.overlay.attrParams.item.type == 2 || |
| | | e.overlay.attrParams.item.type == 3 || |
| | | e.overlay.attrParams.item.type == 4 || |
| | | e.overlay.attrParams.item.type == 5 || |
| | | e.overlay.attrParams.item.type == 6 || |
| | | e.overlay.attrParams.item.type == 7 || |
| | | e.overlay.attrParams.item.type == 8 || |
| | | e.overlay.attrParams.item.type == 10 || |
| | | e.overlay.attrParams.item.type == 11)) { |
| | | hoverData.billboard = true |
| | | } else { |
| | |
| | | layerName: 'newCarDrawLineLayers', |
| | | positions: positionStr, |
| | | material: color, |
| | | params: { ...item, lineObj }, |
| | | incident: this.lineOverlayTypeClick |
| | | params: { ...item, lineObj, item, data: item }, |
| | | incident: this.lineOverlayTypeClick, |
| | | mouseOverIncident: this.pointMouseOver, |
| | | mouseOutIncident: this.pointMouseOut |
| | | }) |
| | | |
| | | }) |