A Spring Boot Application to calculate 'real' points on the road that connect two given points using the google directions API. The points are present at a fixed interval.
-
latlong/get_interval_points
METHOD: GET
PARAMETERS: origin, destination
- LatLongController - <src/main/java/com/example/demo/controller/LatLongController.java>
The main driver class which calculates the equidistant points between the source and the destination
- Points - <src/main/java/com/example/demo/helper/Points.java>
The helper class which contains the core logic of the application.
- PolyLine - <src/main/java/com/example/demo/helper/PolyLine.java>
The helper class to convert polyline code to their respective coordinates.
- Coordinate - <src/main/java/com/example/demo/helper/Coordinate.java>
The helper class which represents an individual coordinate point on the map in terms of latitude and longitude.