updated calculateRoute to use HelperFunctions routingAPI
This commit is contained in:
parent
6302b988b7
commit
99fe7d6921
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ public class Route {
|
||||||
private void calculateRoute() {
|
private void calculateRoute() {
|
||||||
//execute api call out to routing service to get route info
|
//execute api call out to routing service to get route info
|
||||||
updateCurrentLocation();
|
updateCurrentLocation();
|
||||||
//double[][] tmpSeq = apiCallToRouting(currentLocation, tmpLocation)
|
HelperFunctions apiCallToRouting = new HelperFunctions();
|
||||||
|
double[][] tmpSeq = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue