hardcoded waypoint distance to variable
This commit is contained in:
parent
1886ef1f17
commit
8e008a8d66
3 changed files with 5 additions and 2 deletions
|
|
@ -338,7 +338,7 @@ public final class NodesCache
|
|||
|
||||
public void matchWaypointsToNodes( List<MatchedWaypoint> unmatchedWaypoints, double maxDistance, OsmNodePairSet islandNodePairs )
|
||||
{
|
||||
waypointMatcher = new WaypointMatcherImpl( unmatchedWaypoints, 250., islandNodePairs );
|
||||
waypointMatcher = new WaypointMatcherImpl( unmatchedWaypoints, maxDistance, islandNodePairs );
|
||||
for( MatchedWaypoint mwp : unmatchedWaypoints )
|
||||
{
|
||||
preloadPosition( mwp.waypoint );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue