|
@@ -294,7 +294,7 @@ export default class ListenLayer {
|
|
|
curveRoad.curves,
|
|
|
curveRoad.width
|
|
|
);
|
|
|
- if (joinInfo.distance < Constant.minAdsorbPix) {
|
|
|
+ if (joinInfo.distance < curveRoad.width / 2) {
|
|
|
curveRoadInfo = {
|
|
|
curveRoadId: curveRoadId,
|
|
|
type: VectorType.CurveRoad,
|
|
@@ -302,6 +302,8 @@ export default class ListenLayer {
|
|
|
x: joinInfo.position.x,
|
|
|
y: joinInfo.position.y,
|
|
|
};
|
|
|
+
|
|
|
+ // draw.drawTestLine(position, joinInfo.position);
|
|
|
}
|
|
|
}
|
|
|
|