DJIsean
2022-08-17 c5f51306bfc8e57e4837d071e38e25fa6aa87f76
src/pages/project-app/projects/layer.vue
@@ -180,7 +180,7 @@
      id: id,
      name: name
    })
  } else if (MapElementEnum.LINE === type && geoType === 'Polygon') {
  } else if (MapElementEnum.POLY === type && geoType === 'Polygon') {
    const coordinates = element.resource?.content.geometry
      .coordinates[0] as GeojsonCoordinate[]
    useGMapCoverHook.initPolygon(name, coordinates, color, {