diff --git a/dist/samples/routes-compute-routes/app/index.html b/dist/samples/routes-compute-routes/app/index.html index b3675d7f..aff67cd2 100644 --- a/dist/samples/routes-compute-routes/app/index.html +++ b/dist/samples/routes-compute-routes/app/index.html @@ -4,6 +4,7 @@ Copyright 2025 Google LLC. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 --> + @@ -306,4 +307,5 @@

Fields

- \ No newline at end of file + + diff --git a/dist/samples/routes-compute-routes/app/index.ts b/dist/samples/routes-compute-routes/app/index.ts index 7c475856..aa36e605 100644 --- a/dist/samples/routes-compute-routes/app/index.ts +++ b/dist/samples/routes-compute-routes/app/index.ts @@ -17,7 +17,7 @@ const originAutocompleteSelection: PlaceAutocompleteSelection = { predictionText: null, location: null, }; -const destinationAUtocompleteSelection: PlaceAutocompleteSelection = { +const destinationAutocompleteSelection: PlaceAutocompleteSelection = { predictionText: null, location: null, }; @@ -118,7 +118,7 @@ async function init() { }, destination: { location: buildComputeRoutesLocation( - destinationAUtocompleteSelection, + destinationAutocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode, @@ -491,7 +491,7 @@ async function init() { [ [originAutocomplete, originAutocompleteSelection], - [destinationAutocomplete, destinationAUtocompleteSelection], + [destinationAutocomplete, destinationAutocompleteSelection], ].forEach(([autocomplete, autocompleteData]) => { autocomplete.addEventListener( 'gmp-select', diff --git a/dist/samples/routes-compute-routes/dist/index.html b/dist/samples/routes-compute-routes/dist/index.html index f23d536f..38e00dcf 100644 --- a/dist/samples/routes-compute-routes/dist/index.html +++ b/dist/samples/routes-compute-routes/dist/index.html @@ -4,6 +4,7 @@ Copyright 2025 Google LLC. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 --> + @@ -306,4 +307,5 @@

Fields

- \ No newline at end of file + + diff --git a/dist/samples/routes-compute-routes/docs/index.html b/dist/samples/routes-compute-routes/docs/index.html index b3675d7f..aff67cd2 100644 --- a/dist/samples/routes-compute-routes/docs/index.html +++ b/dist/samples/routes-compute-routes/docs/index.html @@ -4,6 +4,7 @@ Copyright 2025 Google LLC. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 --> + @@ -306,4 +307,5 @@

Fields

- \ No newline at end of file + + diff --git a/dist/samples/routes-compute-routes/docs/index.js b/dist/samples/routes-compute-routes/docs/index.js index 69c35ad8..b33560c4 100644 --- a/dist/samples/routes-compute-routes/docs/index.js +++ b/dist/samples/routes-compute-routes/docs/index.js @@ -12,7 +12,7 @@ const originAutocompleteSelection = { predictionText: null, location: null, }; -const destinationAUtocompleteSelection = { +const destinationAutocompleteSelection = { predictionText: null, location: null, }; @@ -77,7 +77,7 @@ async function init() { sideOfRoad: formData.get('origin_side_of_road') === 'on', }, destination: { - location: buildComputeRoutesLocation(destinationAUtocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode), + location: buildComputeRoutesLocation(destinationAutocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode), vehicleStopover: formData.get('destination_stopover') === 'on', sideOfRoad: formData.get('destination_side_of_road') === 'on', }, @@ -344,7 +344,7 @@ async function init() { }); [ [originAutocomplete, originAutocompleteSelection], - [destinationAutocomplete, destinationAUtocompleteSelection], + [destinationAutocomplete, destinationAutocompleteSelection], ].forEach(([autocomplete, autocompleteData]) => { autocomplete.addEventListener('gmp-select', //@ts-ignore diff --git a/dist/samples/routes-compute-routes/docs/index.ts b/dist/samples/routes-compute-routes/docs/index.ts index 7c475856..aa36e605 100644 --- a/dist/samples/routes-compute-routes/docs/index.ts +++ b/dist/samples/routes-compute-routes/docs/index.ts @@ -17,7 +17,7 @@ const originAutocompleteSelection: PlaceAutocompleteSelection = { predictionText: null, location: null, }; -const destinationAUtocompleteSelection: PlaceAutocompleteSelection = { +const destinationAutocompleteSelection: PlaceAutocompleteSelection = { predictionText: null, location: null, }; @@ -118,7 +118,7 @@ async function init() { }, destination: { location: buildComputeRoutesLocation( - destinationAUtocompleteSelection, + destinationAutocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode, @@ -491,7 +491,7 @@ async function init() { [ [originAutocomplete, originAutocompleteSelection], - [destinationAutocomplete, destinationAUtocompleteSelection], + [destinationAutocomplete, destinationAutocompleteSelection], ].forEach(([autocomplete, autocompleteData]) => { autocomplete.addEventListener( 'gmp-select', diff --git a/dist/samples/routes-compute-routes/jsfiddle/demo.html b/dist/samples/routes-compute-routes/jsfiddle/demo.html index b3675d7f..1ac56e97 100644 --- a/dist/samples/routes-compute-routes/jsfiddle/demo.html +++ b/dist/samples/routes-compute-routes/jsfiddle/demo.html @@ -4,6 +4,7 @@ Copyright 2025 Google LLC. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 --> + @@ -306,4 +307,5 @@

Fields

- \ No newline at end of file + + diff --git a/dist/samples/routes-compute-routes/jsfiddle/demo.js b/dist/samples/routes-compute-routes/jsfiddle/demo.js index 2c69ff25..f9a482e4 100644 --- a/dist/samples/routes-compute-routes/jsfiddle/demo.js +++ b/dist/samples/routes-compute-routes/jsfiddle/demo.js @@ -12,7 +12,7 @@ const originAutocompleteSelection = { predictionText: null, location: null, }; -const destinationAUtocompleteSelection = { +const destinationAutocompleteSelection = { predictionText: null, location: null, }; @@ -77,7 +77,7 @@ async function init() { sideOfRoad: formData.get('origin_side_of_road') === 'on', }, destination: { - location: buildComputeRoutesLocation(destinationAUtocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode), + location: buildComputeRoutesLocation(destinationAutocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode), vehicleStopover: formData.get('destination_stopover') === 'on', sideOfRoad: formData.get('destination_side_of_road') === 'on', }, @@ -344,7 +344,7 @@ async function init() { }); [ [originAutocomplete, originAutocompleteSelection], - [destinationAutocomplete, destinationAUtocompleteSelection], + [destinationAutocomplete, destinationAutocompleteSelection], ].forEach(([autocomplete, autocompleteData]) => { autocomplete.addEventListener('gmp-select', //@ts-ignore