|
@@ -380,7 +380,7 @@ class SamplePointLayer {
|
|
|
<div class="item-val">${data.ecology_info.dp_situation}%</div>
|
|
|
</div>
|
|
|
`;
|
|
|
-
|
|
|
+
|
|
|
document.getElementById('tag-nh').style.display = fs.get("nonghu") == 1 ? "inline-block" : 'none'
|
|
|
that.popup.setPosition(evt.coordinate)
|
|
|
})
|
|
@@ -480,6 +480,10 @@ class SamplePointLayer {
|
|
|
imgSrc = require('@/assets/images/map/status/defalut-icon.png')
|
|
|
scale = 0.3
|
|
|
}
|
|
|
+ if (item.nonghu === 1) {
|
|
|
+ imgSrc = require('@/assets/images/map/status/nonghu-icon.png')
|
|
|
+ scale = 0.3
|
|
|
+ }
|
|
|
|
|
|
item["icon"] = imgSrc
|
|
|
item["scale"] = scale
|