I would like to calculate the distance between 2 locations using Google Maps. That should be something basic, like 2 textboxes where someone can write the addresses, and a "Calculate" button.
The problem is that the users cannot enter the longitude and latitude. They will enter the street number, a city and a country.
I'm not quite sure if Google API accepts this and also I'm not sure what happens if an address doesn't exist.
Once they click Calculate, they should see the distance and also the route below in Google Maps.
Do you know if there is a library that helps me achieve this?
I've checked Angular Google Maps but it's not quite what I need.
I've done some research and it may work with Google Matrix. I'm not sure if I can retrieve the route afterward in Google Maps.
Any advice will be appreciated.
Thank you very much.
Max