Skip to content

Commit 4ff2511

Browse files
author
Justin Poehnelt
authored
fix: add distance_meters (#322)
1 parent ac5d674 commit 4ff2511

6 files changed

Lines changed: 90 additions & 59 deletions

dist/documentation/schemas/maps_http_schema_placeautocompleteprediction.html

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/documentation/schemas/maps_http_schema_placeautocompleteprediction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| <h4 id="PlaceAutocompletePrediction-matched_substrings" class="add-link schema-object-property-key"><code>matched_substrings</code></h4> | **required** | Array&lt;[PlaceAutocompleteMatchedSubstring](#PlaceAutocompleteMatchedSubstring "PlaceAutocompleteMatchedSubstring")&gt; | <div class="ref-property-description"><p>A list of substrings that describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.</p><p>See <a href="#PlaceAutocompleteMatchedSubstring">PlaceAutocompleteMatchedSubstring</a> for more information.</div> |
99
| <h4 id="PlaceAutocompletePrediction-structured_formatting" class="add-link schema-object-property-key"><code>structured_formatting</code></h4> | **required** | [PlaceAutocompleteStructuredFormat](#PlaceAutocompleteStructuredFormat "PlaceAutocompleteStructuredFormat") | <div class="ref-property-description"><p>Provides pre-formatted text that can be shown in your autocomplete results. This content is meant to be read as-is. Do not programmatically parse the formatted address.</p><p>See <a href="#PlaceAutocompleteStructuredFormat">PlaceAutocompleteStructuredFormat</a> for more information.</div> |
1010
| <h4 id="PlaceAutocompletePrediction-terms" class="add-link schema-object-property-key"><code>terms</code></h4> | **required** | Array&lt;[PlaceAutocompleteTerm](#PlaceAutocompleteTerm "PlaceAutocompleteTerm")&gt; | <div class="ref-property-description"><p>Contains an array of terms identifying each section of the returned description (a section of the description is generally terminated with a comma). Each entry in the array has a <code>value</code> field, containing the text of the term, and an <code>offset</code> field, defining the start position of this term in the description, measured in Unicode characters.</p><p>See <a href="#PlaceAutocompleteTerm">PlaceAutocompleteTerm</a> for more information.</div> |
11+
| <h4 id="PlaceAutocompletePrediction-distance_meters" class="add-link schema-object-property-key"><code>distance_meters</code></h4> | optional | integer | <div class="nonref-property-description"><p>The straight-line distance in meters from the origin. This field is only returned for requests made with an <code>origin</code>.</p></div> |
1112
| <h4 id="PlaceAutocompletePrediction-place_id" class="add-link schema-object-property-key"><code>place_id</code></h4> | optional | string | <div class="nonref-property-description"><p>A textual identifier that uniquely identifies a place. To retrieve information about the place, pass this identifier in the placeId field of a Places API request. For more information about place IDs, see the <a href="https://developers.google.com/maps/documentation/places/web-service/place-id">Place IDs</a> overview.</p></div> |
1213
| <h4 id="PlaceAutocompletePrediction-reference" class="add-link schema-object-property-key deprecated-item hide-from-toc"><code>reference</code></h4> | optional | string | <aside class="deprecated"><code>reference</code> is deprecated.</aside><div class="nonref-property-description"><p>See place_id.</p></div> |
1314
| <h4 id="PlaceAutocompletePrediction-types" class="add-link schema-object-property-key"><code>types</code></h4> | optional | Array&lt;string&gt; | <div class="nonref-property-description"><p>Contains an array of types that apply to this place. For example: <code>[ "political", "locality" ]</code> or <code>[ "establishment", "geocode", "beauty_salon" ]</code>. The array can contain multiple values. Learn more about <a href="https://developers.google.com/maps/documentation/places/web-service/supported_types">Place types</a>.</p></div> |

dist/google-maps-platform-openapi3.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/google-maps-platform-openapi3.yml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)