测试优化实时监控中心,接收全部的机器信息 ,优化显示图标的问题,优化且任务的时候显示 规划路径
This commit is contained in:
@@ -795,7 +795,6 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
|
||||
};
|
||||
|
||||
function showCoordinateTooltip(tooltip, position, t, lon, lat, robot) {
|
||||
console.log('showCoordinateTooltip', position, lon, lat, robot);
|
||||
tooltip.style.display = "block";
|
||||
tooltip.style.left = position.x + 12 + "px";
|
||||
tooltip.style.top = position.y + 12 + "px";
|
||||
@@ -1309,7 +1308,7 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
|
||||
if (focusLocation.type === "plane" || focusLocation.type === "drone") {
|
||||
image = planeImg;
|
||||
} else if (focusLocation.type === "robot") {
|
||||
image = droneInspectImg;
|
||||
image = carImg;
|
||||
} else if (focusLocation.type === "mower") {
|
||||
image = carImg;
|
||||
}
|
||||
@@ -1739,7 +1738,6 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
|
||||
// ==============================
|
||||
|
||||
// 光圈颜色:工作中蓝 / 空闲绿 / 离线红
|
||||
const haloColor = getDeviceHaloColor(device);
|
||||
|
||||
let entity = entityMapRef.current.get(id);
|
||||
|
||||
@@ -1781,6 +1779,7 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine,
|
||||
// 设备底部状态光晕:比机器稍大一点
|
||||
// ==============================
|
||||
const haloId = `${id}_halo`;
|
||||
|
||||
const haloColor = getDeviceHaloColor(device);
|
||||
|
||||
// 尺寸可根据设备类型微调:车辆类稍大,IOT/相机类稍小
|
||||
|
||||
Reference in New Issue
Block a user