|
@@ -1,6 +1,7 @@
|
|
|
import VectorType from "../enum/VectorType.js";
|
|
|
import Road from "./Road.js";
|
|
|
import Settings from "../Settings";
|
|
|
+import Constant from "../Constant.js";
|
|
|
|
|
|
export default class CurveRoad extends Road {
|
|
|
constructor(startId, endId, vectorId) {
|
|
@@ -27,6 +28,7 @@ export default class CurveRoad extends Road {
|
|
|
this.singleCurveRoadWidth =
|
|
|
Settings.singleCurveRoadDrivewayCount * Settings.singleLaneWidth* window.coordinate.ratio;
|
|
|
this.geoType = VectorType.CurveRoad;
|
|
|
+ this.setWay(Constant.twoWay)
|
|
|
this.setId(vectorId);
|
|
|
}
|
|
|
|