Is it possible to add the duration of a route between two markers (including traffic) without showing the directions on the map?
Is it possible to add the duration of a route between two markers (including traffic) without showing the directions on the map?
Hello!
Could you explain your problem with more details?
I have a map that shows two markers. The first is my current location. The second is a destination selected on the previous page.
I currently do not show the directions to the selected destination, only the map with markers and traffic.
Is it possible to display the amount of time it would take to drive from the current location to the selected location, without having to show the full directions?
Hello!
Please take a look here: https://developers.google.com/maps/do...
This should be useful.
Thanks Arina.
If I understand this correctly, does it mean that I cannot use this google distance matrix API with traffic conditions, unless I have a google for business account?
Hi Veronika,
This is also for free accounts, but access is restricted.
Users of the free API: 100 elements per query.
100 elements per 10 seconds.
2 500 elements per 24 hour period.
The way I understood it was that the restrictions on free accounts allows you to get duration and distance without traffic conditions. And that only google business accounts can get duration and distance with traffic conditions.
The following screenshot about departure time settings, led me to believe that only business customers can get traffic related info:
Am I interpreting this wrong?
Hello Veronica,
If something is not clear about this API you should contact Google support, unfortunately this is is outside the scope of our support.
That makes sense. Ok thanks
Hello, I could not create a service for the distance and the time running.
I created a "Rest" service with url: https://maps.googleapis.com/maps/api/...?
Method: GET
Response Data Type: JSON
Request (Query String): origins and destination and test work fine.
Response: import test as Response
correct?