Commit 778220da authored by 吕 成东's avatar 吕 成东
Browse files

更新感知区域的特效颜色和透明度,调整区域尺寸高度

parent ab747939
...@@ -1011,7 +1011,7 @@ ...@@ -1011,7 +1011,7 @@
// camera.flyTo(options); // camera.flyTo(options);
road.initSignals({ road.initSignals({
id: "51worldinitSignals", //ID id: "51worldinitSignals", //ID
url: "wss://itg-dev.cu-sc.com:13443/WSPLUS/socket?token=111&msgType=3&reType=51world",//&intersectionCode=51-D-JD0006 url: "wss://itg-dev.cu-sc.com:13443/WSPLUS/socket?token=111&msgType=3&reType=51world", //&intersectionCode=51-D-JD0006
}); });
} }
...@@ -1586,10 +1586,10 @@ ...@@ -1586,10 +1586,10 @@
type: "fusionPerception", type: "fusionPerception",
options: { options: {
id: "2200002282", //感知区域ID id: "2200002282", //感知区域ID
color: [0, 0, 0, 1], //特效颜色
outline: true, // 是否使用边框 outline: true, // 是否使用边框
height: 2, // 区域尺寸高度 height: 2, // 区域尺寸高度
heightOffset: 300, // 区域生成位置高度 heightOffset: 300, // 区域生成位置高度
opacity: 0.2,
coordinates: [ coordinates: [
// 区域范围经纬度 // 区域范围经纬度
[117.32701900000001, 38.999834], [117.32701900000001, 38.999834],
...@@ -1607,10 +1607,11 @@ ...@@ -1607,10 +1607,11 @@
type: "fusionPerception", type: "fusionPerception",
options: { options: {
id: "2200002282", //感知区域ID id: "2200002282", //感知区域ID
color: [0, 0, 0, 1], //特效颜色
outline: true, // 是否使用边框 outline: true, // 是否使用边框
height: 2, // 区域尺寸高度 height: 10, // 区域尺寸高度
heightOffset: 300, // 区域生成位置高度 heightOffset: 300, // 区域生成位置高度
opacity: 0.2, opacity: 0.7,
coordinates: [ coordinates: [
// 区域范围经纬度 // 区域范围经纬度
[117.32701900000001, 38.999834], [117.32701900000001, 38.999834],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment