|
@@ -3,7 +3,7 @@ import { curveRoadPointService } from "./CurveRoadPointService";
|
|
|
import { curveEdgeService } from "./CurveEdgeService";
|
|
|
import { mathUtil } from "../Util/MathUtil.js";
|
|
|
import CurveRoad from "../Geometry/CurveRoad.js";
|
|
|
-import VectorType from "../enum/VectorType";
|
|
|
+import VectorStyle from "../enum/VectorStyle";
|
|
|
import Constant from "../Constant";
|
|
|
import RoadService from "./RoadService";
|
|
|
import { lineService } from "./LineService";
|
|
@@ -1138,8 +1138,14 @@ export default class CurveRoadService extends RoadService {
|
|
|
for (let i = 0; i < curveRoad.rightLanesCurves.length; ++i) {
|
|
|
lineService.createCurveLineByPoints(curveRoad.rightLanesCurves[i]);
|
|
|
}
|
|
|
- lineService.createCurveLineByPoints(curveRoad.midDivide.leftMidDivide);
|
|
|
- lineService.createCurveLineByPoints(curveRoad.midDivide.rightMidDivide);
|
|
|
+ let leftMidDivide = lineService.createCurveLineByPoints(
|
|
|
+ curveRoad.midDivide.leftMidDivide
|
|
|
+ );
|
|
|
+ leftMidDivide.setStyle(VectorStyle.SingleDashedLine);
|
|
|
+ let rightMidDivide = lineService.createCurveLineByPoints(
|
|
|
+ curveRoad.midDivide.rightMidDivide
|
|
|
+ );
|
|
|
+ rightMidDivide.setStyle(VectorStyle.SingleDashedLine);
|
|
|
}
|
|
|
}
|
|
|
}
|