updated calculateRoute to send route characteristics in api call

This commit is contained in:
Fennel Kora 2024-04-13 16:23:27 -04:00
parent 5af9c2a515
commit b550d9b0b0

View file

@ -18,7 +18,6 @@ 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();
routeSequence = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates()); routeSequence = apiCallToRouting.routingAPI(currentLocation, currentDestination.getDestinationCoordinates(), tollsFlag, hwyFlag);
} }
} }