Skip to content

How to prefix via: to waypoints for directions API? #239

Description

@debugger22

I read the following doc

The duration in traffic is returned only if all of the following are true:

1. The request includes a valid API key, or a valid Google Maps APIs Premium Plan client ID and signature.
2. The request does not include stopover waypoints. If the request includes waypoints, they must be prefixed with via: to avoid stopovers.
3. The request is specifically for driving directions—the mode parameter is set to driving.
4. The request includes a departure_time parameter.
5. Traffic conditions are available for the requested route.

For condition 2, how do I prefix via: to the waypoints. I have a list of coordinates.

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.releasedtype: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions