@@ -569,17 +569,18 @@ export default { | |||
geometry: new Point(fromLonLat([problem.lng, problem.lat])) | |||
}) | |||
let icon | |||
switch (iitem.typeName) { | |||
case '林斑': | |||
switch (iitem.code) { | |||
case '002000': | |||
icon = problemSpot_icon | |||
break | |||
case '病死树': | |||
case '002001': | |||
icon = deadTree_icon | |||
break | |||
case '人员活动': | |||
case '002003': | |||
icon = personnel_icon | |||
break | |||
case '火灾隐患': | |||
case '002004': | |||
icon = fireHazard_icon | |||
} | |||
// 要素设置样式 |