diff --git a/HelperFunctions.java b/HelperFunctions.java index c22f5f8..de38b02 100644 --- a/HelperFunctions.java +++ b/HelperFunctions.java @@ -17,4 +17,11 @@ public class HelperFunctions { double[] returnArray = coords; return returnArray; } + + public double[][] routingAPI(double[] startCoords, double[] destinationCoords) { + //ideally this would return a series of coordinates, but for the sake of the demo it's just + //going to concatenate the start and end into a 2x2 array with just those two steps + double[][] routeArray = {startCoords, destinationCoords}; + return routeArray; + } }