1
guanqb
2024-01-20 f13afcb61276061871b30bce17a7877287df0b67
src/utils/plot/draw/DrawBillboard.js
@@ -2,8 +2,8 @@
 * @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. 
@@ -21,7 +21,7 @@
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
@@ -39,7 +39,7 @@
                return this._position
            }, false),
            billboard: {
                ...this._style
                ...this._style,
            }
        })
        this._layer.entities.add(this._delegate)