|
@@ -486,7 +486,8 @@ export default class HistoryUtil {
|
|
|
curveRoadInfo.points = [];
|
|
|
for (let i = 0; i < curveRoad2.points.length; ++i) {
|
|
|
curveRoadInfo.points[i] = {};
|
|
|
- curveRoadInfo.points[i].vectorId = curveRoad2.points[i].vectorId;
|
|
|
+ // curveRoadInfo.points[i].vectorId = curveRoad2.points[i].vectorId;
|
|
|
+ curveRoadInfo.points[i] = curveRoad2.points[i];
|
|
|
}
|
|
|
this.setCurveRoadInfo(curveRoadInfo);
|
|
|
}
|
|
@@ -715,7 +716,6 @@ export default class HistoryUtil {
|
|
|
data.rightEdgeId = curveRoad.rightEdgeId;
|
|
|
data.points = JSON.parse(JSON.stringify(curveRoad.points));
|
|
|
data.curves = JSON.parse(JSON.stringify(curveRoad.curves));
|
|
|
-
|
|
|
data.way = curveRoad.way;
|
|
|
if (curveRoad.way == Constant.oneWay) {
|
|
|
data.singleCurveRoadWidth = curveRoad.singleRoadWidth;
|
|
@@ -897,6 +897,7 @@ export default class HistoryUtil {
|
|
|
JSON.stringify(curveRoadPointInfo.parent)
|
|
|
);
|
|
|
curveRoadPoint.index = curveRoadPointInfo.index;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
setCurveRoadEdgeInfo(curveRoadEdgeInfo) {
|
|
@@ -925,7 +926,7 @@ export default class HistoryUtil {
|
|
|
// );
|
|
|
// }
|
|
|
curveRoad.points = JSON.parse(JSON.stringify(curveRoadInfo.points));
|
|
|
- curveRoad.curves = JSON.parse(JSON.stringify(curveRoadInfo.midDivide));
|
|
|
+ curveRoad.curves = JSON.parse(JSON.stringify(curveRoadInfo.curves));
|
|
|
|
|
|
if (curveRoad.way == Constant.oneWay) {
|
|
|
curveRoad.singleCurveRoadWidth = curveRoadInfo.singleCurveRoadWidth;
|