|
|
@@ -97,9 +97,9 @@ define(['jquery', "template", "Tools", "paging", 'dateTime', 'swiper'], function |
|
|
|
} |
|
|
|
let features = []; |
|
|
|
content.forEach(item => { |
|
|
|
if (item.theGeomJson != null && item.theGeomJson !== '') { |
|
|
|
if (item.theGeom != null && item.theGeom !== '') { |
|
|
|
const iconFeature = new ol.Feature({ |
|
|
|
geometry: new ol.geom.MultiPolygon(JSON.parse(item.theGeomJson).coordinates), |
|
|
|
geometry: new ol.geom.MultiPolygon(JSON.parse(item.theGeom).coordinates), |
|
|
|
// name: item.centerName, |
|
|
|
// centerDeptId: item.deptId, |
|
|
|
level: 'resource', |
|
|
|