Test build: Try force route re-caculation if stopped due to Issue2515
This commit is contained in:
parent
90522fcb83
commit
c7a55d6695
1 changed files with 6 additions and 0 deletions
|
@ -80,6 +80,12 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
|
|||
} else {
|
||||
//TODO: Hardy: Looks like there is a small bug somewhere: Re-selecting the "From" or "To" point during an ongoing route calculation (and only then) seems to only interrupt the ongoing route calculation. but not restart it, if (and only if) a route origin other than "Current position" is set. (Looks like this case is treated like a mere position update in our RoutingHelper, so normally no complete re-calculation is needed.)
|
||||
getTargets().setStartPoint(latlon, true, null);
|
||||
//---
|
||||
//Try force route re-caculation if stopped due to Issue2515
|
||||
if (!routingHelper.isRouteBeingCalculated()) {
|
||||
getTargets().setStartPoint(latlon, true, null);
|
||||
}
|
||||
//---
|
||||
}
|
||||
contextMenu.setLocation(latlon, null);
|
||||
showDialog();
|
||||
|
|
Loading…
Reference in a new issue