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

139
Visualizações
Google map embed map direction mode vs google map javascript direction service get wrong duration time?

I have a website that uses google map javascript direction service to compute the route and duration between 2 locations and embed a map to display the route for the user, but when comparing 2 duration between 2 APIs that gives me the wrong time.

here is my javascript code

directionsService.route({
                        origin: origin,
                        destination: destination,
                        travelMode: "Driving"
                    })

Embed map api url

https://www.google.com/maps/embed/v1/directions?key=MY_KEY&origin=origin&destination=destination&mode=driving

Did google map embed map give me the duration containing the traffic time also?

I hope this helps you to understand my issue. Tell me if I am wrong on something.

Thanks.

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