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

144
Vistas
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 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