- Step 1: Open backend.php file.
- Step 2: Locate "PUT-YOUR-GOOGLE-API-KEY-HERE" in backend.php and replace "PUT-YOUR-GOOGLE-API-KEY-HERE" with your google api key and savr it.
- Step 3: Now open this project in your browser
- Step 4: Enter your origin city.
- Step 5: Enter your first destiantion city.
- Step 6: Enter your first destiantion city.
- Step 7: Select your travelling mode(default: driving).
- Step 8: Click on the button "Calculate Distance!".
- Step 9: You wil now get the result.
Click me to try it.