assign routingAPI call directly to route object attribute
This commit is contained in:
parent
99fe7d6921
commit
6ae9852206
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ public class Route {
|
||||||
//execute api call out to routing service to get route info
|
//execute api call out to routing service to get route info
|
||||||
updateCurrentLocation();
|
updateCurrentLocation();
|
||||||
HelperFunctions apiCallToRouting = new HelperFunctions();
|
HelperFunctions apiCallToRouting = new HelperFunctions();
|
||||||
double[][] tmpSeq = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates());
|
routeSequence = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue