Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f170b1eef8
1 changed files with 2 additions and 1 deletions
|
@ -75,6 +75,7 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
|
|||
if(selectFromMapTouch) {
|
||||
LatLon latlon = tileBox.getLatLonFromPixel(point.x, point.y);
|
||||
selectFromMapTouch = false;
|
||||
//TODO: Hardy: Looks like there is an old bug somewhere here: Re-selecting the From or To via "Select on map" during a route calculation does interrupt the ongoing route calculation, while reselecting From or To via "Fvorites" correctly re-starts any ongoing route recalculation with the updated point
|
||||
showDialog();
|
||||
if(selectFromMapForTarget) {
|
||||
getTargets().navigateToPoint(latlon, true, -1);
|
||||
|
@ -82,8 +83,8 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
|
|||
getTargets().setStartPoint(latlon, true, null);
|
||||
}
|
||||
contextMenu.setLocation(latlon, null);
|
||||
hideDialog();
|
||||
showDialog();
|
||||
//TODO: Hardy: Looks like there is an old bug somewhere here: Re-selecting the From or To via "Select on map" during a route calculation does interrupt the ongoing route calculation, while reselecting From or To via "Fvorites" correctly re-starts any ongoing route recalculation with the updated point
|
||||
return true;
|
||||
}
|
||||
return super.onSingleTap(point, tileBox);
|
||||
|
|
Loading…
Reference in a new issue