Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

109
Views
Angular - Calculate distance between 2 locations using Google Maps by giving the addresses

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

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!