DJIsean
2022-08-17 c5f51306bfc8e57e4837d071e38e25fa6aa87f76
Update layer.vue
1 files modified
2 ■■■ changed files
src/pages/project-app/projects/layer.vue 2 ●●● patch | view | raw | blame | history
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, {