Skip to content

Commit ddc7745

Browse files
Update dist folder [skip ci] (#302)
Co-authored-by: googlemaps-bot <[email protected]>
1 parent 368c991 commit ddc7745

File tree

48 files changed

+97
-147
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+97
-147
lines changed

dist/samples/advanced-markers-animation/app/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,4 @@
108108
}
109109

110110
initMap();
111-
// [END maps_advanced_markers_animation]
112-
export { };
111+
// [END maps_advanced_markers_animation]

dist/samples/advanced-markers-animation/docs/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/**
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -93,4 +94,4 @@ function refreshMap() {
9394
initMap();
9495
}
9596
initMap();
96-
export {};
97+
// [END maps_advanced_markers_animation]

dist/samples/advanced-markers-animation/docs/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,4 @@
108108
}
109109

110110
initMap();
111-
// [END maps_advanced_markers_animation]
112-
export { };
111+
// [END maps_advanced_markers_animation]

dist/samples/advanced-markers-animation/jsfiddle/demo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/**
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -93,4 +94,4 @@ function refreshMap() {
9394
initMap();
9495
}
9596
initMap();
96-
export {};
97+

dist/samples/place-autocomplete-data-session/app/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ declare global {
9797
}
9898
window.init = init;
9999
// [END maps_place_autocomplete_data_session]
100+
void 0; // No-op to preserve the last region tag comment.
100101
export { };

dist/samples/place-autocomplete-data-session/docs/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,6 @@ function refreshToken(request) {
7575
request.sessionToken = new google.maps.places.AutocompleteSessionToken();
7676
}
7777
window.init = init;
78+
// [END maps_place_autocomplete_data_session]
79+
void 0; // No-op to preserve the last region tag comment.
7880
export {};

dist/samples/place-autocomplete-data-session/docs/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ declare global {
9797
}
9898
window.init = init;
9999
// [END maps_place_autocomplete_data_session]
100+
void 0; // No-op to preserve the last region tag comment.
100101
export { };

dist/samples/place-autocomplete-data-session/jsfiddle/demo.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,6 @@ function refreshToken(request) {
7575
request.sessionToken = new google.maps.places.AutocompleteSessionToken();
7676
}
7777
window.init = init;
78+
79+
void 0; // No-op to preserve the last region tag comment.
7880
export {};

dist/samples/place-autocomplete-element/app/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ async function initMap(): Promise<void> {
4040

4141
initMap();
4242
// [END maps_place_autocomplete_element]
43-
export { };

dist/samples/place-autocomplete-element/docs/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -33,4 +34,4 @@ async function initMap() {
3334
// [END maps_place_autocomplete_element_listener]
3435
}
3536
initMap();
36-
export {};
37+
// [END maps_place_autocomplete_element]

dist/samples/place-autocomplete-element/docs/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ async function initMap(): Promise<void> {
4040

4141
initMap();
4242
// [END maps_place_autocomplete_element]
43-
export { };

dist/samples/place-autocomplete-element/jsfiddle/demo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -33,4 +34,4 @@ async function initMap() {
3334

3435
}
3536
initMap();
36-
export {};
37+

dist/samples/place-autocomplete-map/app/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,4 @@ function updateInfoWindow(content, center) {
8282
}
8383

8484
initMap();
85-
// [END maps_place_autocomplete_map]
86-
export { };
85+
// [END maps_place_autocomplete_map]

dist/samples/place-autocomplete-map/docs/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -72,4 +73,4 @@ function updateInfoWindow(content, center) {
7273
});
7374
}
7475
initMap();
75-
export {};
76+
// [END maps_place_autocomplete_map]

dist/samples/place-autocomplete-map/docs/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,4 @@ function updateInfoWindow(content, center) {
8282
}
8383

8484
initMap();
85-
// [END maps_place_autocomplete_map]
86-
export { };
85+
// [END maps_place_autocomplete_map]

dist/samples/place-autocomplete-map/jsfiddle/demo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -72,4 +73,4 @@ function updateInfoWindow(content, center) {
7273
});
7374
}
7475
initMap();
75-
export {};
76+

dist/samples/place-text-search/app/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,3 @@ async function findPlaces() {
6969

7070
initMap();
7171
// [END maps_place_text_search]
72-
73-
export { };

dist/samples/place-text-search/docs/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -56,4 +57,4 @@ async function findPlaces() {
5657
}
5758
}
5859
initMap();
59-
export {};
60+
// [END maps_place_text_search]

dist/samples/place-text-search/docs/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,3 @@ async function findPlaces() {
6969

7070
initMap();
7171
// [END maps_place_text_search]
72-
73-
export { };

dist/samples/place-text-search/jsfiddle/demo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -56,4 +57,4 @@ async function findPlaces() {
5657
}
5758
}
5859
initMap();
59-
export {};
60+

dist/samples/ui-kit-place-details/app/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
<gmp-advanced-marker></gmp-advanced-marker>
2222
</gmp-map>
2323
<!--[END maps_ui_kit_place_details_map] -->
24-
<script
25-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps&callback=initMap&v=alpha"
26-
defer
27-
></script>
24+
<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))})
25+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "alpha"});</script>
2826
</body>
2927
</html>
3028
<!--[END maps_ui_kit_place_details] -->

dist/samples/ui-kit-place-details/app/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,13 @@ async function initMap(): Promise<void> {
5656
map.innerMap.panTo(adjustedCenter);
5757
});
5858
}
59+
/* [END maps_ui_kit_place_details_event] */
5960

6061
// Helper function to offset the map center.
6162
function offsetLatLngRight(latLng, longitudeOffset) {
6263
const newLng = latLng.lng() + longitudeOffset;
6364
return new google.maps.LatLng(latLng.lat(), newLng);
6465
}
65-
/* [END maps_ui_kit_place_details_event] */
6666

67-
declare global {
68-
interface Window {
69-
initMap: () => void;
70-
}
71-
}
72-
window.initMap = initMap;
67+
initMap();
7368
/* [END maps_ui_kit_place_details] */
74-
export {};

dist/samples/ui-kit-place-details/dist/assets/index-B0_gTKaF.js renamed to dist/samples/ui-kit-place-details/dist/assets/index-Cu9IVoaO.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/samples/ui-kit-place-details/dist/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<head>
1010
<title>Click on the map to view place details</title>
1111
<meta charset="utf-8">
12-
<script type="module" crossorigin src="./assets/index-B0_gTKaF.js"></script>
12+
<script type="module" crossorigin src="./assets/index-Cu9IVoaO.js"></script>
1313
<link rel="stylesheet" crossorigin href="./assets/index-DAWyXXsz.css">
1414
</head>
1515
<body>
@@ -21,10 +21,8 @@
2121
<gmp-advanced-marker></gmp-advanced-marker>
2222
</gmp-map>
2323
<!--[END maps_ui_kit_place_details_map] -->
24-
<script
25-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps&callback=initMap&v=alpha"
26-
defer
27-
></script>
24+
<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))})
25+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "alpha"});</script>
2826
</body>
2927
</html>
3028
<!--[END maps_ui_kit_place_details] -->

dist/samples/ui-kit-place-details/docs/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
<gmp-advanced-marker></gmp-advanced-marker>
2222
</gmp-map>
2323
<!--[END maps_ui_kit_place_details_map] -->
24-
<script
25-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps&callback=initMap&v=alpha"
26-
defer
27-
></script>
24+
<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))})
25+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "alpha"});</script>
2826
</body>
2927
</html>
3028
<!--[END maps_ui_kit_place_details] -->

dist/samples/ui-kit-place-details/docs/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -51,10 +52,11 @@ async function initMap() {
5152
map.innerMap.panTo(adjustedCenter);
5253
});
5354
}
55+
/* [END maps_ui_kit_place_details_event] */
5456
// Helper function to offset the map center.
5557
function offsetLatLngRight(latLng, longitudeOffset) {
5658
const newLng = latLng.lng() + longitudeOffset;
5759
return new google.maps.LatLng(latLng.lat(), newLng);
5860
}
59-
window.initMap = initMap;
60-
export {};
61+
initMap();
62+
/* [END maps_ui_kit_place_details] */

dist/samples/ui-kit-place-details/docs/index.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,13 @@ async function initMap(): Promise<void> {
5656
map.innerMap.panTo(adjustedCenter);
5757
});
5858
}
59+
/* [END maps_ui_kit_place_details_event] */
5960

6061
// Helper function to offset the map center.
6162
function offsetLatLngRight(latLng, longitudeOffset) {
6263
const newLng = latLng.lng() + longitudeOffset;
6364
return new google.maps.LatLng(latLng.lat(), newLng);
6465
}
65-
/* [END maps_ui_kit_place_details_event] */
6666

67-
declare global {
68-
interface Window {
69-
initMap: () => void;
70-
}
71-
}
72-
window.initMap = initMap;
67+
initMap();
7368
/* [END maps_ui_kit_place_details] */
74-
export {};

dist/samples/ui-kit-place-details/jsfiddle/demo.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
<gmp-advanced-marker></gmp-advanced-marker>
2222
</gmp-map>
2323

24-
<script
25-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps&callback=initMap&v=alpha"
26-
defer
27-
></script>
24+
<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))})
25+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "alpha"});</script>
2826
</body>
2927
</html>

dist/samples/ui-kit-place-details/jsfiddle/demo.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use strict";
12
/*
23
* @license
34
* Copyright 2025 Google LLC. All Rights Reserved.
@@ -51,10 +52,11 @@ async function initMap() {
5152
map.innerMap.panTo(adjustedCenter);
5253
});
5354
}
55+
/* [END maps_ui_kit_place_details_event] */
5456
// Helper function to offset the map center.
5557
function offsetLatLngRight(latLng, longitudeOffset) {
5658
const newLng = latLng.lng() + longitudeOffset;
5759
return new google.maps.LatLng(latLng.lat(), newLng);
5860
}
59-
window.initMap = initMap;
60-
export {};
61+
initMap();
62+
/* [END maps_ui_kit_place_details] */

dist/samples/ui-kit-place-search-text/app/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515
<body>
1616
<!--[START maps_ui_kit_place_search_text_map] -->
17-
<gmp-map center="-37.813,144.963" zoom="10" map-id="DEMO_MAP_ID">
17+
<gmp-map center="37.395641,-122.077627" zoom="10" map-id="DEMO_MAP_ID">
1818
<div class="overlay" slot="control-inline-start-block-start">
1919
<div class="list-container">
2020
<gmp-place-list selectable></gmp-place-list>
@@ -23,10 +23,8 @@
2323
<gmp-place-details size="large"></gmp-place-details>
2424
</gmp-map>
2525
<!--[END maps_ui_kit_place_search_text_map] -->
26-
<script
27-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps&callback=initMap&v=alpha"
28-
defer
29-
></script>
26+
<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))})
27+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "alpha"});</script>
3028
</body>
3129
</html>
3230
<!--[END maps_ui_kit_place_search_text] -->

dist/samples/ui-kit-place-search-text/app/index.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function initMap(): Promise<void> {
3232
clickableIcons: false,
3333
});
3434

35-
searchByTextRequest('tacos near me');
35+
searchByTextRequest('tacos in Mountain View');
3636
}
3737
/* [END maps_ui_kit_place_search_text_init_map] */
3838

@@ -100,11 +100,5 @@ function offsetLatLngRight(latLng, longitudeOffset) {
100100
return new google.maps.LatLng(latLng.lat, newLng);
101101
}
102102

103-
declare global {
104-
interface Window {
105-
initMap: () => void;
106-
}
107-
}
108-
window.initMap = initMap;
109-
/* [END maps_ui_kit_place_search_text] */
110-
export{};
103+
initMap();
104+
/* [END maps_ui_kit_place_search_text] */

dist/samples/ui-kit-place-search-text/app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"dom.iterable"
1313
],
1414
"moduleResolution": "Node",
15-
"jsx": "preserve"
15+
"jsx": "preserve",
1616
}
1717
}

dist/samples/ui-kit-place-search-text/dist/assets/index-BQOE2HdH.js renamed to dist/samples/ui-kit-place-search-text/dist/assets/index-wtb0ylRH.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)