Formatting fixes
This commit is contained in:
parent
2e685f7182
commit
d84f8bed00
1 changed files with 3 additions and 3 deletions
|
@ -250,10 +250,10 @@ public class RoutingOptionsHelper {
|
|||
Location firstLoc = ps.get(0);
|
||||
LatLon firstLatLon = new LatLon(firstLoc.getLatitude(), firstLoc.getLongitude());
|
||||
LatLon endLocation = endPoint != null ? endPoint.point : new LatLon(lastLoc.getLatitude(), lastLoc.getLongitude());
|
||||
LatLon startLoc = selected ? firstLatLon : (pointToNavigate != null ? pointToNavigate.point : firstLatLon);
|
||||
LatLon startLocation = selected ? firstLatLon : (pointToNavigate != null ? pointToNavigate.point : firstLatLon);
|
||||
tg.navigateToPoint(endLocation, false, -1);
|
||||
if (pointToStart != null) {
|
||||
tg.setStartPoint(startLoc, false, null);
|
||||
tg.setStartPoint(startLocation, false, null);
|
||||
}
|
||||
tg.updateRouteAndRefresh(true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue