媒体库-作业区域、标注完成版-修改小bug

main
滕嵩 2 months ago
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…
Cancel
Save