|
@@ -90,7 +90,7 @@ class MockFarmLayer {
|
|
|
let styles = [that.cloudStyle(img, isCurrent, isHigh), that.pointBgStyle(name, isCurrent, isHigh)];
|
|
|
that.setProperties(feature,f)
|
|
|
// let text = f.get("pz");
|
|
|
- let text = f.get("pz") ? that.firstVariety(f.get("pz")) : "荔枝";
|
|
|
+ let text = f.get("farmName");
|
|
|
let fontColor = (isCurrent || isHigh) ? "#fff" : "#000"
|
|
|
const yieldVal = f.get("yield") ? (f.get("yield")+"吨") : "--"
|
|
|
const price = "7.5"
|