Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

106
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda