Skip to content

Commit b8f58a9

Browse files
Update dist folder [skip ci] (#792)
1 parent 81855f0 commit b8f58a9

File tree

8 files changed

+24
-16
lines changed

8 files changed

+24
-16
lines changed

dist/samples/routes-compute-routes/app/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
7+
<!-- [START maps_routes_compute_routes] -->
78
<html>
89

910
<head>
@@ -306,4 +307,5 @@ <h3>Fields</h3>
306307
<script>(g => { var h, a, k, p = "The Google Maps JavaScript API", c = "google", l = "importLibrary", q = "__ib__", m = document, b = window; b = b[c] || (b[c] = {}); var d = b.maps || (b.maps = {}), r = new Set, e = new URLSearchParams, u = () => h || (h = new Promise(async (f, n) => { await (a = m.createElement("script")); e.set("libraries", [...r] + ""); for (k in g) e.set(k.replace(/[A-Z]/g, t => "_" + t[0].toLowerCase()), g[k]); e.set("callback", c + ".maps." + q); a.src = `https://maps.${c}apis.com/maps/api/js?` + e; d[q] = f; a.onerror = () => h = n(Error(p + " could not load.")); a.nonce = m.querySelector("script[nonce]")?.nonce || ""; m.head.append(a) })); d[l] ? console.warn(p + " only loads once. Ignoring:", g) : d[l] = (f, ...n) => r.add(f) && u().then(() => d[l](f, ...n)) })
307308
({ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta" });</script>
308309
</body>
309-
</html>
310+
</html>
311+
<!-- [END maps_routes_compute_routes] -->

dist/samples/routes-compute-routes/app/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const originAutocompleteSelection: PlaceAutocompleteSelection = {
1717
predictionText: null,
1818
location: null,
1919
};
20-
const destinationAUtocompleteSelection: PlaceAutocompleteSelection = {
20+
const destinationAutocompleteSelection: PlaceAutocompleteSelection = {
2121
predictionText: null,
2222
location: null,
2323
};
@@ -118,7 +118,7 @@ async function init() {
118118
},
119119
destination: {
120120
location: buildComputeRoutesLocation(
121-
destinationAUtocompleteSelection,
121+
destinationAutocompleteSelection,
122122
formData.get('destination_location'),
123123
formData.get('heading_dest'),
124124
travelMode,
@@ -491,7 +491,7 @@ async function init() {
491491

492492
[
493493
[originAutocomplete, originAutocompleteSelection],
494-
[destinationAutocomplete, destinationAUtocompleteSelection],
494+
[destinationAutocomplete, destinationAutocompleteSelection],
495495
].forEach(([autocomplete, autocompleteData]) => {
496496
autocomplete.addEventListener(
497497
'gmp-select',

dist/samples/routes-compute-routes/dist/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
7+
<!-- [START maps_routes_compute_routes] -->
78
<html>
89

910
<head>
@@ -306,4 +307,5 @@ <h3>Fields</h3>
306307
<script>(g => { var h, a, k, p = "The Google Maps JavaScript API", c = "google", l = "importLibrary", q = "__ib__", m = document, b = window; b = b[c] || (b[c] = {}); var d = b.maps || (b.maps = {}), r = new Set, e = new URLSearchParams, u = () => h || (h = new Promise(async (f, n) => { await (a = m.createElement("script")); e.set("libraries", [...r] + ""); for (k in g) e.set(k.replace(/[A-Z]/g, t => "_" + t[0].toLowerCase()), g[k]); e.set("callback", c + ".maps." + q); a.src = `https://maps.${c}apis.com/maps/api/js?` + e; d[q] = f; a.onerror = () => h = n(Error(p + " could not load.")); a.nonce = m.querySelector("script[nonce]")?.nonce || ""; m.head.append(a) })); d[l] ? console.warn(p + " only loads once. Ignoring:", g) : d[l] = (f, ...n) => r.add(f) && u().then(() => d[l](f, ...n)) })
307308
({ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta" });</script>
308309
</body>
309-
</html>
310+
</html>
311+
<!-- [END maps_routes_compute_routes] -->

dist/samples/routes-compute-routes/docs/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
7+
<!-- [START maps_routes_compute_routes] -->
78
<html>
89

910
<head>
@@ -306,4 +307,5 @@ <h3>Fields</h3>
306307
<script>(g => { var h, a, k, p = "The Google Maps JavaScript API", c = "google", l = "importLibrary", q = "__ib__", m = document, b = window; b = b[c] || (b[c] = {}); var d = b.maps || (b.maps = {}), r = new Set, e = new URLSearchParams, u = () => h || (h = new Promise(async (f, n) => { await (a = m.createElement("script")); e.set("libraries", [...r] + ""); for (k in g) e.set(k.replace(/[A-Z]/g, t => "_" + t[0].toLowerCase()), g[k]); e.set("callback", c + ".maps." + q); a.src = `https://maps.${c}apis.com/maps/api/js?` + e; d[q] = f; a.onerror = () => h = n(Error(p + " could not load.")); a.nonce = m.querySelector("script[nonce]")?.nonce || ""; m.head.append(a) })); d[l] ? console.warn(p + " only loads once. Ignoring:", g) : d[l] = (f, ...n) => r.add(f) && u().then(() => d[l](f, ...n)) })
307308
({ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta" });</script>
308309
</body>
309-
</html>
310+
</html>
311+
<!-- [END maps_routes_compute_routes] -->

dist/samples/routes-compute-routes/docs/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const originAutocompleteSelection = {
1212
predictionText: null,
1313
location: null,
1414
};
15-
const destinationAUtocompleteSelection = {
15+
const destinationAutocompleteSelection = {
1616
predictionText: null,
1717
location: null,
1818
};
@@ -77,7 +77,7 @@ async function init() {
7777
sideOfRoad: formData.get('origin_side_of_road') === 'on',
7878
},
7979
destination: {
80-
location: buildComputeRoutesLocation(destinationAUtocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode),
80+
location: buildComputeRoutesLocation(destinationAutocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode),
8181
vehicleStopover: formData.get('destination_stopover') === 'on',
8282
sideOfRoad: formData.get('destination_side_of_road') === 'on',
8383
},
@@ -344,7 +344,7 @@ async function init() {
344344
});
345345
[
346346
[originAutocomplete, originAutocompleteSelection],
347-
[destinationAutocomplete, destinationAUtocompleteSelection],
347+
[destinationAutocomplete, destinationAutocompleteSelection],
348348
].forEach(([autocomplete, autocompleteData]) => {
349349
autocomplete.addEventListener('gmp-select',
350350
//@ts-ignore

dist/samples/routes-compute-routes/docs/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const originAutocompleteSelection: PlaceAutocompleteSelection = {
1717
predictionText: null,
1818
location: null,
1919
};
20-
const destinationAUtocompleteSelection: PlaceAutocompleteSelection = {
20+
const destinationAutocompleteSelection: PlaceAutocompleteSelection = {
2121
predictionText: null,
2222
location: null,
2323
};
@@ -118,7 +118,7 @@ async function init() {
118118
},
119119
destination: {
120120
location: buildComputeRoutesLocation(
121-
destinationAUtocompleteSelection,
121+
destinationAutocompleteSelection,
122122
formData.get('destination_location'),
123123
formData.get('heading_dest'),
124124
travelMode,
@@ -491,7 +491,7 @@ async function init() {
491491

492492
[
493493
[originAutocomplete, originAutocompleteSelection],
494-
[destinationAutocomplete, destinationAUtocompleteSelection],
494+
[destinationAutocomplete, destinationAutocompleteSelection],
495495
].forEach(([autocomplete, autocompleteData]) => {
496496
autocomplete.addEventListener(
497497
'gmp-select',

dist/samples/routes-compute-routes/jsfiddle/demo.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
7+
78
<html>
89

910
<head>
@@ -306,4 +307,5 @@ <h3>Fields</h3>
306307
<script>(g => { var h, a, k, p = "The Google Maps JavaScript API", c = "google", l = "importLibrary", q = "__ib__", m = document, b = window; b = b[c] || (b[c] = {}); var d = b.maps || (b.maps = {}), r = new Set, e = new URLSearchParams, u = () => h || (h = new Promise(async (f, n) => { await (a = m.createElement("script")); e.set("libraries", [...r] + ""); for (k in g) e.set(k.replace(/[A-Z]/g, t => "_" + t[0].toLowerCase()), g[k]); e.set("callback", c + ".maps." + q); a.src = `https://maps.${c}apis.com/maps/api/js?` + e; d[q] = f; a.onerror = () => h = n(Error(p + " could not load.")); a.nonce = m.querySelector("script[nonce]")?.nonce || ""; m.head.append(a) })); d[l] ? console.warn(p + " only loads once. Ignoring:", g) : d[l] = (f, ...n) => r.add(f) && u().then(() => d[l](f, ...n)) })
307308
({ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta" });</script>
308309
</body>
309-
</html>
310+
</html>
311+

dist/samples/routes-compute-routes/jsfiddle/demo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const originAutocompleteSelection = {
1212
predictionText: null,
1313
location: null,
1414
};
15-
const destinationAUtocompleteSelection = {
15+
const destinationAutocompleteSelection = {
1616
predictionText: null,
1717
location: null,
1818
};
@@ -77,7 +77,7 @@ async function init() {
7777
sideOfRoad: formData.get('origin_side_of_road') === 'on',
7878
},
7979
destination: {
80-
location: buildComputeRoutesLocation(destinationAUtocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode),
80+
location: buildComputeRoutesLocation(destinationAutocompleteSelection, formData.get('destination_location'), formData.get('heading_dest'), travelMode),
8181
vehicleStopover: formData.get('destination_stopover') === 'on',
8282
sideOfRoad: formData.get('destination_side_of_road') === 'on',
8383
},
@@ -344,7 +344,7 @@ async function init() {
344344
});
345345
[
346346
[originAutocomplete, originAutocompleteSelection],
347-
[destinationAutocomplete, destinationAUtocompleteSelection],
347+
[destinationAutocomplete, destinationAutocompleteSelection],
348348
].forEach(([autocomplete, autocompleteData]) => {
349349
autocomplete.addEventListener('gmp-select',
350350
//@ts-ignore

0 commit comments

Comments
 (0)