@@ -52,6 +52,7 @@ public class MainController {
location.add(intersection.location.get(0));
coordinates.add(location);
}
+
System.out.println(coordinates);
return coordinates;
@@ -0,0 +1,10 @@
+package com.deliveryproject.easydelivery.Models;
+public class Coordinate {
+ public double lat;
+ public double lon;
+ public Coordinate(double lat, double lon) {
+ this.lat = lat;
+ this.lon = lon;
+ }
+}