|
@@ -608,11 +608,7 @@ export default class CurveRoadService extends RoadService {
|
|
|
|
|
|
//单车道转多车道,默认是转换成左右两边各一个
|
|
//单车道转多车道,默认是转换成左右两边各一个
|
|
//不改变路的宽度
|
|
//不改变路的宽度
|
|
- singleToMullane(curveRoad) {
|
|
|
|
- // curveRoad.leftDrivewayCount = 1;
|
|
|
|
- // curveRoad.rightDrivewayCount = 1;
|
|
|
|
- // this.setLanes(curveRoad);
|
|
|
|
- }
|
|
|
|
|
|
+ singleToMullane(curveRoad) {}
|
|
|
|
|
|
//多车道转单车道
|
|
//多车道转单车道
|
|
mulToSinglelane(curveRoad) {
|
|
mulToSinglelane(curveRoad) {
|
|
@@ -674,7 +670,7 @@ export default class CurveRoadService extends RoadService {
|
|
curveEdgeService.setCurves(leftCurveEdge);
|
|
curveEdgeService.setCurves(leftCurveEdge);
|
|
curveEdgeService.setCurves(rightCurveEdge);
|
|
curveEdgeService.setCurves(rightCurveEdge);
|
|
this.setCurves(curveRoad);
|
|
this.setCurves(curveRoad);
|
|
- this.setLanes(curveRoad);
|
|
|
|
|
|
+ this.setLanes(curveRoadId);
|
|
}
|
|
}
|
|
|
|
|
|
//变宽或者变窄(车道数据不变)
|
|
//变宽或者变窄(车道数据不变)
|
|
@@ -768,7 +764,7 @@ export default class CurveRoadService extends RoadService {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- this.setLanes(curveRoad, dir);
|
|
|
|
|
|
+ this.setLanes(curveRoadId, dir);
|
|
}
|
|
}
|
|
|
|
|
|
setCurves(curveRoad) {
|
|
setCurves(curveRoad) {
|