From 81b4bca516d37a36854181d60215e6ceaddc5e9c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 30 Mar 2023 15:45:15 +0800
Subject: [PATCH] 安保活动相关更改
---
src/utils/plot/draw/DrawBillboard.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/utils/plot/draw/DrawBillboard.js b/src/utils/plot/draw/DrawBillboard.js
index f6f7916..be645ea 100644
--- a/src/utils/plot/draw/DrawBillboard.js
+++ b/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)
--
Gitblit v1.9.3