This program calculates the walking or cycling time between two locations specified by zip codes. It opens a window where the user can input the starting and final zip codes and choose between walking or cycling. The output includes the aerial distance and estimated time for the chosen mode of transportation. Additionally, the program displays both points on the map and draws a connecting line.
- Input two zip codes and choose between walking or cycling.
- Calculates distance and time based on geographical coordinates.
- Utilizes the Haversine method for distance calculation.
- Stores postcode coordinates in a CSV file and retrieves missing data from an API.
- Download and install the JavaFX SDK library.
- Clone this repository to your local machine.
- Compile and run the
Launcher.java
file. - Enter the starting and final zip codes in the input fields.
- Choose between walking or cycling.
- View the calculated distance, time, and map display in the output window.
- This program uses average speeds calculated for a person living in the Netherlands.
- JavaFX SDK