Fix public transport calculation from my location
This commit is contained in:
parent
0ada3d6ab9
commit
27dc4d4ad6
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ public class RoutingHelper {
|
|||
RouteCalculationResult previousRoute, boolean targetPointsChanged) {
|
||||
Location locationProjection = currentLocation;
|
||||
if (isPublicTransportMode() && currentLocation != null && finalLocation != null &&
|
||||
(targetPointsChanged || transportRoutingHelper.getRoutes() == null)) {
|
||||
(targetPointsChanged || transportRoutingHelper.getStartLocation() == null)) {
|
||||
transportRoutingHelper.setFinalAndCurrentLocation(finalLocation,
|
||||
new LatLon(currentLocation.getLatitude(), currentLocation.getLongitude()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue