fixed routing glitch at final segment
This commit is contained in:
parent
307a50b840
commit
20e1d5aabb
@ -742,7 +742,7 @@ public class RoutingEngine extends Thread
|
||||
OsmPath startPath = routingContext.createPath( startLink );
|
||||
startLink.addLinkHolder( startPath, null );
|
||||
|
||||
if ( wp != null ) wp.radius = 0.1;
|
||||
if ( wp != null ) wp.radius = 5.;
|
||||
|
||||
return routingContext.createPath( startPath, link, null, guideTrack != null );
|
||||
}
|
||||
@ -1064,7 +1064,7 @@ public class RoutingEngine extends Thread
|
||||
{
|
||||
if ( isFinalLink )
|
||||
{
|
||||
endPos.radius = 0.1;
|
||||
endPos.radius = 5.0;
|
||||
routingContext.setWaypoint( endPos, true );
|
||||
}
|
||||
OsmPath testPath = routingContext.createPath( otherPath, link, refTrack, guideTrack != null );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user