Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"waypoint_order": [ 3, 2, 0, 1 ]
```

<div class="caution">Caution: Requests using waypoint optimization are billed at a higher rate. <a href="https://developers.devsite.corp.google.com/maps/billing/gmp-billing#directions-advanced">Learn more about how Google Maps Platform products are billed.</a></div>
<div class="caution">Caution: Requests using waypoint optimization are billed at a higher rate. <a href="https://developers..google.com/maps/billing/gmp-billing#directions-advanced">Learn more about how Google Maps Platform products are billed.</a></div>


<p style="text-align: right; font-size: smaller;">Generated from the <a class="gc-analytics-event" data-category="GMP" data-label="openapi-github" href="https://github.com/googlemaps/openapi-specification" title="Google Maps Platform OpenAPI Specification" class="external">OpenAPI specification</a>.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- `postal_code`
- `route`
- If the request contains repeated component filters, the API evaluates those filters as an AND, not an OR.
- Results are consistent with Google Maps, which occasionally yields unexpected `ZERO_RESULTS` responses. Using Place Autocomplete may provide better results in some use cases. To learn more, see [this FAQ](https://developers.devsite.corp.google.com/maps/documentation/geocoding/faq#trbl_component_filtering).
- Results are consistent with Google Maps, which occasionally yields unexpected `ZERO_RESULTS` responses. Using Place Autocomplete may provide better results in some use cases. To learn more, see [this FAQ](https://developers..google.com/maps/documentation/geocoding/faq#trbl_component_filtering).
- For each address component, either specify it in the address parameter or in a components filter, but not both. Specifying the same values in both may result in `ZERO_RESULTS`.

<div class="note">Note: At least one of `address` or `components` is required.</div>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ When using the Directions API to search for transit directions, the steps array
| <h4 id="DirectionsStep-duration" class="add-link schema-object-property-key"><code>duration</code></h4> | **required** | [TextValueObject](#TextValueObject "TextValueObject") | <div class="ref-property-description"><p>Contains the typical time required to perform the step, until the next step. This field may be undefined if the duration is unknown.</p><p>See <a href="#TextValueObject">TextValueObject</a> for more information.</div> |
| <h4 id="DirectionsStep-end_location" class="add-link schema-object-property-key"><code>end_location</code></h4> | **required** | [LatLngLiteral](#LatLngLiteral "LatLngLiteral") | <div class="ref-property-description"><p>Contains the location of the last point of this step.</p><p>See <a href="#LatLngLiteral">LatLngLiteral</a> for more information.</div> |
| <h4 id="DirectionsStep-html_instructions" class="add-link schema-object-property-key"><code>html_instructions</code></h4> | **required** | string | <div class="nonref-property-description"><p>Contains formatted instructions for this step, presented as an HTML text string. This content is meant to be read as-is. Do not programmatically parse this display-only content.</p></div> |
| <h4 id="DirectionsStep-polyline" class="add-link schema-object-property-key"><code>polyline</code></h4> | **required** | [DirectionsPolyline](#DirectionsPolyline "DirectionsPolyline") | <div class="ref-property-description"><p>Contains a single points object that holds an <a href="https://developers.devsite.corp.google.com/maps/documentation/utilities/polylinealgorithm">encoded polyline</a> representation of the step. This polyline is an approximate (smoothed) path of the step.</p><p>See <a href="#DirectionsPolyline">DirectionsPolyline</a> for more information.</div> |
| <h4 id="DirectionsStep-polyline" class="add-link schema-object-property-key"><code>polyline</code></h4> | **required** | [DirectionsPolyline](#DirectionsPolyline "DirectionsPolyline") | <div class="ref-property-description"><p>Contains a single points object that holds an <a href="https://developers..google.com/maps/documentation/utilities/polylinealgorithm">encoded polyline</a> representation of the step. This polyline is an approximate (smoothed) path of the step.</p><p>See <a href="#DirectionsPolyline">DirectionsPolyline</a> for more information.</div> |
| <h4 id="DirectionsStep-start_location" class="add-link schema-object-property-key"><code>start_location</code></h4> | **required** | [LatLngLiteral](#LatLngLiteral "LatLngLiteral") | <div class="ref-property-description"><p>Contains the location of the starting point of this step.</p><p>See <a href="#LatLngLiteral">LatLngLiteral</a> for more information.</div> |
| <h4 id="DirectionsStep-travel_mode" class="add-link schema-object-property-key"><code>travel_mode</code></h4> | **required** | [TravelMode](#TravelMode "TravelMode") | <div class="ref-property-description"><p>Contains the type of travel mode used.</p><p>See <a href="#TravelMode">TravelMode</a> for more information.</div> |
| <h4 id="DirectionsStep-distance" class="add-link schema-object-property-key"><code>distance</code></h4> | optional | [TextValueObject](#TextValueObject "TextValueObject") | <div class="ref-property-description"><p>Contains the distance covered by this step until the next step. This field may be undefined if the distance is unknown.</p><p>See <a href="#TextValueObject">TextValueObject</a> for more information.</div> |
Expand Down
Loading