Commit a62b30ae authored by 吕 成东's avatar 吕 成东
Browse files

修改参数

parent 778220da
...@@ -1583,27 +1583,6 @@ ...@@ -1583,27 +1583,6 @@
camera.flyTo(options); camera.flyTo(options);
const json = { const json = {
type: "fusionPerception",
options: {
id: "2200002282", //感知区域ID
color: [0, 0, 0, 1], //特效颜色
outline: true, // 是否使用边框
height: 2, // 区域尺寸高度
heightOffset: 300, // 区域生成位置高度
coordinates: [
// 区域范围经纬度
[117.32701900000001, 38.999834],
[117.32768, 38.999651999999998],
[117.327579, 38.999527999999998],
[117.327307, 38.999614999999999],
[117.32723799999999, 38.999487000000002],
[117.327061, 38.999552999999999],
[117.327112, 38.999678000000003],
[117.326925, 38.999741999999998],
],
},
};
map.addPerceptionEffect({
type: "fusionPerception", type: "fusionPerception",
options: { options: {
id: "2200002282", //感知区域ID id: "2200002282", //感知区域ID
...@@ -1624,7 +1603,8 @@ ...@@ -1624,7 +1603,8 @@
[117.326925, 38.999741999999998], [117.326925, 38.999741999999998],
], ],
}, },
}); };
map.addPerceptionEffect(json);
} }
// 移除毫米波雷达 // 移除毫米波雷达
......
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