Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

108
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda