媒体库-作业区域、标注完成版-修改小bug
parent
1a84d4fa23
commit
873a036d4d
|
|
@ -1503,6 +1503,7 @@
|
|||
if (graphicLayer.options.id == props.nowShowAreaData.id) {
|
||||
graphicLayer.setStyle({
|
||||
label: {
|
||||
text: props.nowShowAreaData.name,
|
||||
color: graphicLayer.options.style.color,
|
||||
},
|
||||
});
|
||||
|
|
@ -1572,6 +1573,15 @@
|
|||
},
|
||||
);
|
||||
|
||||
watch(
|
||||
() => area_noland_PolygonGraphicData,
|
||||
() => {
|
||||
console.log(area_noland_PolygonGraphicData);
|
||||
},
|
||||
{
|
||||
deep: true,
|
||||
},
|
||||
);
|
||||
// 地图作业区域-初始化-遍历展示
|
||||
function showAllAreaDataList() {
|
||||
// 删除旧数据
|
||||
|
|
@ -1608,6 +1618,7 @@
|
|||
// 地图作业区域-禁降区-线
|
||||
if (item.type == 'noland' && item.geomtype == 'Polygon') {
|
||||
let nolandPolygonGraphic = new mars3d.graphic.PolygonEntity({
|
||||
id: item.id,
|
||||
positions: item.coordinates,
|
||||
style: {
|
||||
clampToGround: item.properties.clampToGround,
|
||||
|
|
|
|||
Loading…
Reference in New Issue