assign routingAPI call directly to route object attribute

This commit is contained in:
Fennel Kora 2024-04-13 16:13:26 -04:00
parent 99fe7d6921
commit 6ae9852206

View file

@ -18,6 +18,7 @@ public class Route {
//execute api call out to routing service to get route info
updateCurrentLocation();
HelperFunctions apiCallToRouting = new HelperFunctions();
double[][] tmpSeq = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates());
routeSequence = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates());
}
}