|
@@ -11,6 +11,9 @@ export default class Road extends Geometry {
|
|
|
this.rightEdgeId = null;
|
|
|
this.width = Constant.defaultRoadWidth; //默认宽度
|
|
|
this.isCurve = false;
|
|
|
+ this.points = []; //中心线上一系列控制点。数组是从start到end。
|
|
|
+ this.leftCount = 1; //左边的路段个数
|
|
|
+ this.rightCount = 1; //右边的路段个数
|
|
|
this.geoType = VectorType.Road;
|
|
|
this.setId(vectorId);
|
|
|
}
|