| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2023-03-24 17:24:45 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-03-27 22:43:01 |
| | | * @FilePath: \forest-fire\src\utils\plot\draw\DrawBillboard.js |
| | | * @LastEditTime: 2023-03-29 20:29:27 |
| | | * @FilePath: \srs-police-affairs\src\utils\plot\draw\DrawBillboard.js |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. |
| | |
| | | class DrawPoint extends Draw { |
| | | constructor(style) { |
| | | super() |
| | | this._position = global.DC.Namespace.Cesium.Cartesian3.ZERO |
| | | this._position = global.DC.Namespace.Cesium.Cartesian3.UNIT_Z |
| | | this._style = { |
| | | image: style.billboardImage ?? IMG_CIRCLE_RED, |
| | | ...style |
| | |
| | | return this._position |
| | | }, false), |
| | | billboard: { |
| | | ...this._style |
| | | ...this._style, |
| | | } |
| | | }) |
| | | this._layer.entities.add(this._delegate) |