222
This commit is contained in:
parent
de6d5b5211
commit
05a3da994c
@ -482,9 +482,8 @@ export const skeletonBuilder = (roofId, canvas, textMode) => {
|
|||||||
// changRoofLinePoints 좌표를 roof.skeletonPoints에 저장 (원본 roof.points는 유지)
|
// changRoofLinePoints 좌표를 roof.skeletonPoints에 저장 (원본 roof.points는 유지)
|
||||||
roof.skeletonPoints = changRoofLinePoints.map(p => ({ x: p.x, y: p.y }))
|
roof.skeletonPoints = changRoofLinePoints.map(p => ({ x: p.x, y: p.y }))
|
||||||
|
|
||||||
console.log('skeleton polygon:', orderedBaseLinePoints)
|
console.log('points:', changRoofLinePoints)
|
||||||
console.log('expanded polygon:', changRoofLinePoints)
|
const geoJSONPolygon = toGeoJSON(changRoofLinePoints)
|
||||||
const geoJSONPolygon = toGeoJSON(orderedBaseLinePoints)
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// SkeletonBuilder는 닫히지 않은 폴리곤을 기대하므로 마지막 점 제거
|
// SkeletonBuilder는 닫히지 않은 폴리곤을 기대하므로 마지막 점 제거
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user