diff --git a/Destination.java b/Destination.java index 26a6bbf..9c957e9 100644 --- a/Destination.java +++ b/Destination.java @@ -14,9 +14,9 @@ public class Destination { private void setCoordsForAddress() { //execute call using address out to covnersion API such as Google Geocoding code example - //tmpCoords = geocodingAPI(address); with the assumption an array of coordinates is returned - //these explicit declarations will serve as testing values - double[] tmpCoords = { 27.993718340483223, -80.63008635738797}; + //a helper function has been written to return a set of coordinates for testing in lieu of api connection + HelperFunctions apiConnection = new HelperFunctions(); + double[] tmpCoords = apiConnection.geocodingAPI(destinationAddress); coordinates[0] = tmpCoords[0]; coordinates[1] = tmpCoords[1]; }