diff --git a/dist/samples/add-map/app/README.md b/dist/samples/add-map/app/README.md
index c734bdbd..62904810 100644
--- a/dist/samples/add-map/app/README.md
+++ b/dist/samples/add-map/app/README.md
@@ -1,7 +1,3 @@
-TODO: Update this file with relevant instructions for building the sample
-in the new regime.
-
-
# Google Maps JavaScript Sample
This sample is generated from @googlemaps/js-samples located at
diff --git a/dist/samples/add-map/app/index.html b/dist/samples/add-map/app/index.html
index c3c11e77..d7835b23 100644
--- a/dist/samples/add-map/app/index.html
+++ b/dist/samples/add-map/app/index.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/add-map/app/index.ts b/dist/samples/add-map/app/index.ts
index 8a23c82f..a7ad7c64 100644
--- a/dist/samples/add-map/app/index.ts
+++ b/dist/samples/add-map/app/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_add_map]
// Initialize and add the map
diff --git a/dist/samples/add-map/app/style.css b/dist/samples/add-map/app/style.css
index 5d2c15ab..561a4b33 100644
--- a/dist/samples/add-map/app/style.css
+++ b/dist/samples/add-map/app/style.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/* [START maps_add_map] */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/add-map/dist/assets/index-v7MVEnxo.js b/dist/samples/add-map/dist/assets/index-35dha72j.js
similarity index 63%
rename from dist/samples/add-map/dist/assets/index-v7MVEnxo.js
rename to dist/samples/add-map/dist/assets/index-35dha72j.js
index 21ec8610..549d7c48 100644
--- a/dist/samples/add-map/dist/assets/index-v7MVEnxo.js
+++ b/dist/samples/add-map/dist/assets/index-35dha72j.js
@@ -1 +1,5 @@
-(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))s(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const n of t.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&s(n)}).observe(document,{childList:!0,subtree:!0});function i(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function s(e){if(e.ep)return;e.ep=!0;const t=i(e);fetch(e.href,t)}})();let c;async function a(){const o={lat:-25.344,lng:131.031},{Map:r}=await google.maps.importLibrary("maps"),{AdvancedMarkerElement:i}=await google.maps.importLibrary("marker");c=new r(document.getElementById("map"),{zoom:4,center:o,mapId:"DEMO_MAP_ID"}),new i({map:c,position:o,title:"Uluru"})}a();
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))s(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const n of t.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&s(n)}).observe(document,{childList:!0,subtree:!0});function i(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function s(e){if(e.ep)return;e.ep=!0;const t=i(e);fetch(e.href,t)}})();/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */let c;async function a(){const o={lat:-25.344,lng:131.031},{Map:r}=await google.maps.importLibrary("maps"),{AdvancedMarkerElement:i}=await google.maps.importLibrary("marker");c=new r(document.getElementById("map"),{zoom:4,center:o,mapId:"DEMO_MAP_ID"}),new i({map:c,position:o,title:"Uluru"})}a();
diff --git a/dist/samples/add-map/dist/assets/index-DWepjxzn.css b/dist/samples/add-map/dist/assets/index-DWepjxzn.css
deleted file mode 100644
index c49b8a3f..00000000
--- a/dist/samples/add-map/dist/assets/index-DWepjxzn.css
+++ /dev/null
@@ -1 +0,0 @@
-#map{height:100%}html,body{height:100%;margin:0;padding:0}
diff --git a/dist/samples/add-map/dist/assets/index-kz-ac4rW.css b/dist/samples/add-map/dist/assets/index-kz-ac4rW.css
new file mode 100644
index 00000000..c4e6ccdb
--- /dev/null
+++ b/dist/samples/add-map/dist/assets/index-kz-ac4rW.css
@@ -0,0 +1,5 @@
+/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */#map{height:100%}html,body{height:100%;margin:0;padding:0}
diff --git a/dist/samples/add-map/dist/index.html b/dist/samples/add-map/dist/index.html
index bfa47685..8ae748bd 100644
--- a/dist/samples/add-map/dist/index.html
+++ b/dist/samples/add-map/dist/index.html
@@ -1,26 +1,16 @@
Add a Map
-
-
+
+
diff --git a/dist/samples/add-map/docs/index.html b/dist/samples/add-map/docs/index.html
index c3c11e77..d7835b23 100644
--- a/dist/samples/add-map/docs/index.html
+++ b/dist/samples/add-map/docs/index.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/add-map/docs/index.js b/dist/samples/add-map/docs/index.js
index baca2429..59619fc3 100644
--- a/dist/samples/add-map/docs/index.js
+++ b/dist/samples/add-map/docs/index.js
@@ -1,19 +1,9 @@
"use strict";
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_add_map]
// Initialize and add the map
let map;
diff --git a/dist/samples/add-map/docs/index.ts b/dist/samples/add-map/docs/index.ts
index 8a23c82f..a7ad7c64 100644
--- a/dist/samples/add-map/docs/index.ts
+++ b/dist/samples/add-map/docs/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_add_map]
// Initialize and add the map
diff --git a/dist/samples/add-map/docs/style.css b/dist/samples/add-map/docs/style.css
index 5d2c15ab..561a4b33 100644
--- a/dist/samples/add-map/docs/style.css
+++ b/dist/samples/add-map/docs/style.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/* [START maps_add_map] */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/add-map/jsfiddle/demo.css b/dist/samples/add-map/jsfiddle/demo.css
index a21ab1db..d8f64de3 100644
--- a/dist/samples/add-map/jsfiddle/demo.css
+++ b/dist/samples/add-map/jsfiddle/demo.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/add-map/jsfiddle/demo.html b/dist/samples/add-map/jsfiddle/demo.html
index 78df1e59..f1de1d31 100644
--- a/dist/samples/add-map/jsfiddle/demo.html
+++ b/dist/samples/add-map/jsfiddle/demo.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/add-map/jsfiddle/demo.js b/dist/samples/add-map/jsfiddle/demo.js
index 0c2192c6..38602989 100644
--- a/dist/samples/add-map/jsfiddle/demo.js
+++ b/dist/samples/add-map/jsfiddle/demo.js
@@ -1,19 +1,9 @@
"use strict";
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// Initialize and add the map
let map;
diff --git a/dist/samples/advanced-markers-animation/app/index.html b/dist/samples/advanced-markers-animation/app/index.html
index 2e50280f..fe807663 100644
--- a/dist/samples/advanced-markers-animation/app/index.html
+++ b/dist/samples/advanced-markers-animation/app/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/advanced-markers-animation/app/index.ts b/dist/samples/advanced-markers-animation/app/index.ts
index beba63dd..a24e4e7a 100644
--- a/dist/samples/advanced-markers-animation/app/index.ts
+++ b/dist/samples/advanced-markers-animation/app/index.ts
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/advanced-markers-animation/app/style.css b/dist/samples/advanced-markers-animation/app/style.css
index 5bdd67f2..db7b5479 100644
--- a/dist/samples/advanced-markers-animation/app/style.css
+++ b/dist/samples/advanced-markers-animation/app/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_advanced_markers_animation] */
diff --git a/dist/samples/advanced-markers-animation/dist/assets/index-DnHAx5KX.js b/dist/samples/advanced-markers-animation/dist/assets/index-8dMt4WQJ.js
similarity index 97%
rename from dist/samples/advanced-markers-animation/dist/assets/index-DnHAx5KX.js
rename to dist/samples/advanced-markers-animation/dist/assets/index-8dMt4WQJ.js
index 2c12923d..d40a98cc 100644
--- a/dist/samples/advanced-markers-animation/dist/assets/index-DnHAx5KX.js
+++ b/dist/samples/advanced-markers-animation/dist/assets/index-8dMt4WQJ.js
@@ -1,5 +1,5 @@
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function r(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function i(e){if(e.ep)return;e.ep=!0;const t=r(e);fetch(e.href,t)}})();/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/function d(o){const n=o.getBounds(),r=n.getSouthWest().lat(),i=n.getSouthWest().lng(),e=n.getNorthEast().lat(),t=n.getNorthEast().lng(),s=e-r;let a=t-i;return t{for(const n of o)n.isIntersecting&&(n.target.classList.add("drop"),c.unobserve(n.target))});async function l(){const{Map:o}=await google.maps.importLibrary("maps"),{AdvancedMarkerElement:n,PinElement:r}=await google.maps.importLibrary("marker"),i={lat:37.4242011827985,lng:-122.09242296450893},e=new o(document.getElementById("map"),{zoom:14,center:i,mapId:"4504f8b37365c3d0"});google.maps.event.addListenerOnce(e,"idle",()=>{for(let a=0;a<100;a++)m(e,n,r)});const t=document.createElement("div"),s=document.createElement("button");s.classList.add("ui-button"),s.innerText="Reset the example",s.addEventListener("click",()=>{p()}),t.appendChild(s),e.controls[google.maps.ControlPosition.TOP_CENTER].push(t)}function m(o,n,r){const e=new r().element;new n({position:d(o),map:o,content:e}),e.style.opacity="0",e.addEventListener("animationend",s=>{e.classList.remove("drop"),e.style.opacity="1"});const t=2+Math.random();e.style.setProperty("--delay-time",t+"s"),c.observe(e)}function p(){const o=document.getElementById("mapContainer");document.getElementById("map").remove();const r=document.createElement("div");r.id="map",o.appendChild(r),l()}l();
diff --git a/dist/samples/advanced-markers-animation/dist/assets/index-0OEaV1k-.css b/dist/samples/advanced-markers-animation/dist/assets/index-DZArsvSd.css
similarity index 93%
rename from dist/samples/advanced-markers-animation/dist/assets/index-0OEaV1k-.css
rename to dist/samples/advanced-markers-animation/dist/assets/index-DZArsvSd.css
index 7b0e8c6f..d53a3394 100644
--- a/dist/samples/advanced-markers-animation/dist/assets/index-0OEaV1k-.css
+++ b/dist/samples/advanced-markers-animation/dist/assets/index-DZArsvSd.css
@@ -1,5 +1,5 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/#map{height:100%}:root{--delay-time: .5s}#map,#mapContainer{height:100%}html,body{height:100%;margin:0;padding:0}@keyframes drop{0%{transform:translateY(-200px) scaleY(.9);opacity:0}5%{opacity:.7}50%{transform:translateY(0) scaleY(1);opacity:1}65%{transform:translateY(-17px) scaleY(.9);opacity:1}75%{transform:translateY(-22px) scaleY(.9);opacity:1}to{transform:translateY(0) scaleY(1);opacity:1}}.drop{animation:drop .3s linear forwards var(--delay-time)}.ui-button{background-color:#fff;border:0;border-radius:2px;box-shadow:0 1px 4px -1px #0000004d;margin:10px;padding:0 .5em;font:400 18px Roboto,Arial,sans-serif;overflow:hidden;height:40px;cursor:pointer}.ui-button:hover{background:#ebebeb}
diff --git a/dist/samples/advanced-markers-animation/dist/index.html b/dist/samples/advanced-markers-animation/dist/index.html
index 5e5f5b8b..ccaac290 100644
--- a/dist/samples/advanced-markers-animation/dist/index.html
+++ b/dist/samples/advanced-markers-animation/dist/index.html
@@ -1,7 +1,7 @@
@@ -9,8 +9,8 @@
Advanced Markers CSS Animation
-
-
+
+
diff --git a/dist/samples/advanced-markers-animation/docs/index.html b/dist/samples/advanced-markers-animation/docs/index.html
index 2e50280f..fe807663 100644
--- a/dist/samples/advanced-markers-animation/docs/index.html
+++ b/dist/samples/advanced-markers-animation/docs/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/advanced-markers-animation/docs/index.js b/dist/samples/advanced-markers-animation/docs/index.js
index 18d86877..2ea1eb52 100644
--- a/dist/samples/advanced-markers-animation/docs/index.js
+++ b/dist/samples/advanced-markers-animation/docs/index.js
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
// [START maps_advanced_markers_animation]
diff --git a/dist/samples/advanced-markers-animation/docs/index.ts b/dist/samples/advanced-markers-animation/docs/index.ts
index beba63dd..a24e4e7a 100644
--- a/dist/samples/advanced-markers-animation/docs/index.ts
+++ b/dist/samples/advanced-markers-animation/docs/index.ts
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/advanced-markers-animation/docs/style.css b/dist/samples/advanced-markers-animation/docs/style.css
index 5bdd67f2..db7b5479 100644
--- a/dist/samples/advanced-markers-animation/docs/style.css
+++ b/dist/samples/advanced-markers-animation/docs/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_advanced_markers_animation] */
diff --git a/dist/samples/advanced-markers-animation/jsfiddle/demo.css b/dist/samples/advanced-markers-animation/jsfiddle/demo.css
index 5d1490dc..e7db22d4 100644
--- a/dist/samples/advanced-markers-animation/jsfiddle/demo.css
+++ b/dist/samples/advanced-markers-animation/jsfiddle/demo.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/advanced-markers-animation/jsfiddle/demo.html b/dist/samples/advanced-markers-animation/jsfiddle/demo.html
index fd06e8d7..0d6978df 100644
--- a/dist/samples/advanced-markers-animation/jsfiddle/demo.html
+++ b/dist/samples/advanced-markers-animation/jsfiddle/demo.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/advanced-markers-animation/jsfiddle/demo.js b/dist/samples/advanced-markers-animation/jsfiddle/demo.js
index 9f59284c..eb9a66be 100644
--- a/dist/samples/advanced-markers-animation/jsfiddle/demo.js
+++ b/dist/samples/advanced-markers-animation/jsfiddle/demo.js
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/map-simple/app/index.html b/dist/samples/map-simple/app/index.html
index 6b8e2f13..989489cb 100644
--- a/dist/samples/map-simple/app/index.html
+++ b/dist/samples/map-simple/app/index.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/map-simple/app/index.ts b/dist/samples/map-simple/app/index.ts
index 63cd0e42..e0c827a4 100644
--- a/dist/samples/map-simple/app/index.ts
+++ b/dist/samples/map-simple/app/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_map_simple]
let map: google.maps.Map;
diff --git a/dist/samples/map-simple/app/style.css b/dist/samples/map-simple/app/style.css
index 46cae468..c6f74223 100644
--- a/dist/samples/map-simple/app/style.css
+++ b/dist/samples/map-simple/app/style.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/* [START maps_map_simple] */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/map-simple/dist/assets/index-DWepjxzn.css b/dist/samples/map-simple/dist/assets/index-DWepjxzn.css
deleted file mode 100644
index c49b8a3f..00000000
--- a/dist/samples/map-simple/dist/assets/index-DWepjxzn.css
+++ /dev/null
@@ -1 +0,0 @@
-#map{height:100%}html,body{height:100%;margin:0;padding:0}
diff --git a/dist/samples/map-simple/dist/assets/index-kz-ac4rW.css b/dist/samples/map-simple/dist/assets/index-kz-ac4rW.css
new file mode 100644
index 00000000..c4e6ccdb
--- /dev/null
+++ b/dist/samples/map-simple/dist/assets/index-kz-ac4rW.css
@@ -0,0 +1,5 @@
+/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */#map{height:100%}html,body{height:100%;margin:0;padding:0}
diff --git a/dist/samples/map-simple/dist/assets/index-C7GG8HeP.js b/dist/samples/map-simple/dist/assets/index-z2JMNahj.js
similarity index 100%
rename from dist/samples/map-simple/dist/assets/index-C7GG8HeP.js
rename to dist/samples/map-simple/dist/assets/index-z2JMNahj.js
diff --git a/dist/samples/map-simple/dist/index.html b/dist/samples/map-simple/dist/index.html
index 5fed07c4..8d3a1354 100644
--- a/dist/samples/map-simple/dist/index.html
+++ b/dist/samples/map-simple/dist/index.html
@@ -1,26 +1,16 @@
Simple Map
-
-
+
+
diff --git a/dist/samples/map-simple/docs/index.html b/dist/samples/map-simple/docs/index.html
index 6b8e2f13..989489cb 100644
--- a/dist/samples/map-simple/docs/index.html
+++ b/dist/samples/map-simple/docs/index.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/map-simple/docs/index.js b/dist/samples/map-simple/docs/index.js
index 99f4f0df..7d309de9 100644
--- a/dist/samples/map-simple/docs/index.js
+++ b/dist/samples/map-simple/docs/index.js
@@ -1,19 +1,9 @@
"use strict";
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_map_simple]
let map;
async function initMap() {
diff --git a/dist/samples/map-simple/docs/index.ts b/dist/samples/map-simple/docs/index.ts
index 63cd0e42..e0c827a4 100644
--- a/dist/samples/map-simple/docs/index.ts
+++ b/dist/samples/map-simple/docs/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_map_simple]
let map: google.maps.Map;
diff --git a/dist/samples/map-simple/docs/style.css b/dist/samples/map-simple/docs/style.css
index 46cae468..c6f74223 100644
--- a/dist/samples/map-simple/docs/style.css
+++ b/dist/samples/map-simple/docs/style.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/* [START maps_map_simple] */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/map-simple/jsfiddle/demo.css b/dist/samples/map-simple/jsfiddle/demo.css
index 9145f4f5..9957f310 100644
--- a/dist/samples/map-simple/jsfiddle/demo.css
+++ b/dist/samples/map-simple/jsfiddle/demo.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/map-simple/jsfiddle/demo.html b/dist/samples/map-simple/jsfiddle/demo.html
index 196331ed..ad1009f4 100644
--- a/dist/samples/map-simple/jsfiddle/demo.html
+++ b/dist/samples/map-simple/jsfiddle/demo.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/map-simple/jsfiddle/demo.js b/dist/samples/map-simple/jsfiddle/demo.js
index 56db19f1..a4b4b544 100644
--- a/dist/samples/map-simple/jsfiddle/demo.js
+++ b/dist/samples/map-simple/jsfiddle/demo.js
@@ -1,19 +1,9 @@
"use strict";
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
let map;
async function initMap() {
diff --git a/dist/samples/place-autocomplete-data-session/app/index.html b/dist/samples/place-autocomplete-data-session/app/index.html
index ec2c952b..c84980e9 100644
--- a/dist/samples/place-autocomplete-data-session/app/index.html
+++ b/dist/samples/place-autocomplete-data-session/app/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-data-session/app/index.ts b/dist/samples/place-autocomplete-data-session/app/index.ts
index eb635b0e..42ae5c9c 100644
--- a/dist/samples/place-autocomplete-data-session/app/index.ts
+++ b/dist/samples/place-autocomplete-data-session/app/index.ts
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2024 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/place-autocomplete-data-session/app/style.css b/dist/samples/place-autocomplete-data-session/app/style.css
index 3f890291..dd36896d 100644
--- a/dist/samples/place-autocomplete-data-session/app/style.css
+++ b/dist/samples/place-autocomplete-data-session/app/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_data_session] */
diff --git a/dist/samples/place-autocomplete-data-session/dist/assets/index-JVaZg7ij.js b/dist/samples/place-autocomplete-data-session/dist/assets/index-3eHdSf6r.js
similarity index 97%
rename from dist/samples/place-autocomplete-data-session/dist/assets/index-JVaZg7ij.js
rename to dist/samples/place-autocomplete-data-session/dist/assets/index-3eHdSf6r.js
index 9b85e4c4..92efb9e8 100644
--- a/dist/samples/place-autocomplete-data-session/dist/assets/index-JVaZg7ij.js
+++ b/dist/samples/place-autocomplete-data-session/dist/assets/index-3eHdSf6r.js
@@ -1,5 +1,5 @@
(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))c(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const r of t.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&c(r)}).observe(document,{childList:!0,subtree:!0});function u(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function c(e){if(e.ep)return;e.ep=!0;const t=u(e);fetch(e.href,t)}})();/**
* @license
- * Copyright 2024 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/let l,i,a,d=0;const s={input:"",locationRestriction:{west:-122.44,north:37.8,east:-122.39,south:37.78},origin:{lat:37.7893,lng:-122.4039},includedPrimaryTypes:["restaurant"],language:"en-US",region:"us"};function p(){l=document.getElementById("title"),i=document.getElementById("results"),a=document.querySelector("input"),a.addEventListener("input",m),f(s)}async function m(n){if(n.target.value==""){l.innerText="",i.replaceChildren();return}s.input=n.target.value;const o=++d,{suggestions:u}=await google.maps.places.AutocompleteSuggestion.fetchAutocompleteSuggestions(s);if(o===d){l.innerText=`Query predictions for "${s.input}"`,i.replaceChildren();for(const c of u){const e=c.placePrediction,t=document.createElement("a");t.addEventListener("click",()=>{g(e.toPlace())}),t.innerText=e.text.toString();const r=document.createElement("li");r.appendChild(t),i.appendChild(r)}}}async function g(n){await n.fetchFields({fields:["displayName","formattedAddress"]});const o=document.createTextNode(`${n.displayName}: ${n.formattedAddress}`);i.replaceChildren(o),l.innerText="Selected Place:",a.value="",f(s)}function f(n){n.sessionToken=new google.maps.places.AutocompleteSessionToken}window.init=p;
diff --git a/dist/samples/place-autocomplete-data-session/dist/assets/index-Qxu13WYE.css b/dist/samples/place-autocomplete-data-session/dist/assets/index-Ncf0q1_8.css
similarity index 78%
rename from dist/samples/place-autocomplete-data-session/dist/assets/index-Qxu13WYE.css
rename to dist/samples/place-autocomplete-data-session/dist/assets/index-Ncf0q1_8.css
index 6b0670db..a2516adf 100644
--- a/dist/samples/place-autocomplete-data-session/dist/assets/index-Qxu13WYE.css
+++ b/dist/samples/place-autocomplete-data-session/dist/assets/index-Ncf0q1_8.css
@@ -1,5 +1,5 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/#map{height:100%}html,body{height:100%;margin:0;padding:0}a{cursor:pointer;text-decoration:underline;color:#00f}input{width:300px}
diff --git a/dist/samples/place-autocomplete-data-session/dist/index.html b/dist/samples/place-autocomplete-data-session/dist/index.html
index eb25cf6d..8c4ee965 100644
--- a/dist/samples/place-autocomplete-data-session/dist/index.html
+++ b/dist/samples/place-autocomplete-data-session/dist/index.html
@@ -1,7 +1,7 @@
@@ -9,8 +9,8 @@
Place Autocomplete Data API Session
-
-
+
+
diff --git a/dist/samples/place-autocomplete-data-session/docs/index.html b/dist/samples/place-autocomplete-data-session/docs/index.html
index ec2c952b..c84980e9 100644
--- a/dist/samples/place-autocomplete-data-session/docs/index.html
+++ b/dist/samples/place-autocomplete-data-session/docs/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-data-session/docs/index.js b/dist/samples/place-autocomplete-data-session/docs/index.js
index 117fd222..d70dc1e1 100644
--- a/dist/samples/place-autocomplete-data-session/docs/index.js
+++ b/dist/samples/place-autocomplete-data-session/docs/index.js
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2024 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
// [START maps_place_autocomplete_data_session]
diff --git a/dist/samples/place-autocomplete-data-session/docs/index.ts b/dist/samples/place-autocomplete-data-session/docs/index.ts
index eb635b0e..42ae5c9c 100644
--- a/dist/samples/place-autocomplete-data-session/docs/index.ts
+++ b/dist/samples/place-autocomplete-data-session/docs/index.ts
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2024 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/place-autocomplete-data-session/docs/style.css b/dist/samples/place-autocomplete-data-session/docs/style.css
index 3f890291..dd36896d 100644
--- a/dist/samples/place-autocomplete-data-session/docs/style.css
+++ b/dist/samples/place-autocomplete-data-session/docs/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_data_session] */
diff --git a/dist/samples/place-autocomplete-data-session/jsfiddle/demo.css b/dist/samples/place-autocomplete-data-session/jsfiddle/demo.css
index 91352b9d..eb8b3a95 100644
--- a/dist/samples/place-autocomplete-data-session/jsfiddle/demo.css
+++ b/dist/samples/place-autocomplete-data-session/jsfiddle/demo.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/place-autocomplete-data-session/jsfiddle/demo.html b/dist/samples/place-autocomplete-data-session/jsfiddle/demo.html
index f894ed5a..f57be9fc 100644
--- a/dist/samples/place-autocomplete-data-session/jsfiddle/demo.html
+++ b/dist/samples/place-autocomplete-data-session/jsfiddle/demo.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-data-session/jsfiddle/demo.js b/dist/samples/place-autocomplete-data-session/jsfiddle/demo.js
index d67815e7..aec74b3b 100644
--- a/dist/samples/place-autocomplete-data-session/jsfiddle/demo.js
+++ b/dist/samples/place-autocomplete-data-session/jsfiddle/demo.js
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2024 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/place-autocomplete-element/app/index.html b/dist/samples/place-autocomplete-element/app/index.html
index 30e253dc..1240bc7f 100644
--- a/dist/samples/place-autocomplete-element/app/index.html
+++ b/dist/samples/place-autocomplete-element/app/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-element/app/index.ts b/dist/samples/place-autocomplete-element/app/index.ts
index ff6f6d77..b01fec3a 100644
--- a/dist/samples/place-autocomplete-element/app/index.ts
+++ b/dist/samples/place-autocomplete-element/app/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_autocomplete_element]
async function initMap(): Promise {
diff --git a/dist/samples/place-autocomplete-element/app/style.css b/dist/samples/place-autocomplete-element/app/style.css
index 4bad8090..1de18c83 100644
--- a/dist/samples/place-autocomplete-element/app/style.css
+++ b/dist/samples/place-autocomplete-element/app/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_element] */
diff --git a/dist/samples/place-autocomplete-element/dist/assets/index-e19utHT7.css b/dist/samples/place-autocomplete-element/dist/assets/index-BY0NZIga.css
similarity index 76%
rename from dist/samples/place-autocomplete-element/dist/assets/index-e19utHT7.css
rename to dist/samples/place-autocomplete-element/dist/assets/index-BY0NZIga.css
index 4667592c..75b2055f 100644
--- a/dist/samples/place-autocomplete-element/dist/assets/index-e19utHT7.css
+++ b/dist/samples/place-autocomplete-element/dist/assets/index-BY0NZIga.css
@@ -1,5 +1,5 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/#map{height:100%}html,body{height:100%;margin:0;padding:0}p{font-family:Roboto,sans-serif;font-weight:700}
diff --git a/dist/samples/place-autocomplete-element/dist/assets/index-NDKnhjGr.js b/dist/samples/place-autocomplete-element/dist/assets/index-Bw-JdENR.js
similarity index 51%
rename from dist/samples/place-autocomplete-element/dist/assets/index-NDKnhjGr.js
rename to dist/samples/place-autocomplete-element/dist/assets/index-Bw-JdENR.js
index 4ad44dcf..bc9aedc4 100644
--- a/dist/samples/place-autocomplete-element/dist/assets/index-NDKnhjGr.js
+++ b/dist/samples/place-autocomplete-element/dist/assets/index-Bw-JdENR.js
@@ -1 +1,5 @@
-(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function r(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();async function i(){await google.maps.importLibrary("places");const c=new google.maps.places.PlaceAutocompleteElement;document.body.appendChild(c);const o=document.createElement("p");o.textContent="",document.body.appendChild(o);const n=document.createElement("pre");n.textContent="",document.body.appendChild(n),c.addEventListener("gmp-select",async({placePrediction:r})=>{const e=r.toPlace();await e.fetchFields({fields:["displayName","formattedAddress","location"]}),o.textContent="Selected Place:",n.textContent=JSON.stringify(e.toJSON(),null,2)})}i();
+(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function r(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */async function i(){await google.maps.importLibrary("places");const c=new google.maps.places.PlaceAutocompleteElement;document.body.appendChild(c);const o=document.createElement("p");o.textContent="",document.body.appendChild(o);const n=document.createElement("pre");n.textContent="",document.body.appendChild(n),c.addEventListener("gmp-select",async({placePrediction:r})=>{const e=r.toPlace();await e.fetchFields({fields:["displayName","formattedAddress","location"]}),o.textContent="Selected Place:",n.textContent=JSON.stringify(e.toJSON(),null,2)})}i();
diff --git a/dist/samples/place-autocomplete-element/dist/index.html b/dist/samples/place-autocomplete-element/dist/index.html
index 0c47ce82..f736f5c6 100644
--- a/dist/samples/place-autocomplete-element/dist/index.html
+++ b/dist/samples/place-autocomplete-element/dist/index.html
@@ -1,7 +1,7 @@
@@ -9,8 +9,8 @@
Place Autocomplete element
-
-
+
+
Search for a place here:
diff --git a/dist/samples/place-autocomplete-element/docs/index.html b/dist/samples/place-autocomplete-element/docs/index.html
index 30e253dc..1240bc7f 100644
--- a/dist/samples/place-autocomplete-element/docs/index.html
+++ b/dist/samples/place-autocomplete-element/docs/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-element/docs/index.js b/dist/samples/place-autocomplete-element/docs/index.js
index 789bca66..c30f6284 100644
--- a/dist/samples/place-autocomplete-element/docs/index.js
+++ b/dist/samples/place-autocomplete-element/docs/index.js
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_autocomplete_element]
async function initMap() {
// [START maps_place_autocomplete_element_add]
diff --git a/dist/samples/place-autocomplete-element/docs/index.ts b/dist/samples/place-autocomplete-element/docs/index.ts
index ff6f6d77..b01fec3a 100644
--- a/dist/samples/place-autocomplete-element/docs/index.ts
+++ b/dist/samples/place-autocomplete-element/docs/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_autocomplete_element]
async function initMap(): Promise {
diff --git a/dist/samples/place-autocomplete-element/docs/style.css b/dist/samples/place-autocomplete-element/docs/style.css
index 4bad8090..1de18c83 100644
--- a/dist/samples/place-autocomplete-element/docs/style.css
+++ b/dist/samples/place-autocomplete-element/docs/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_element] */
diff --git a/dist/samples/place-autocomplete-element/jsfiddle/demo.css b/dist/samples/place-autocomplete-element/jsfiddle/demo.css
index be371e57..7fbcd99a 100644
--- a/dist/samples/place-autocomplete-element/jsfiddle/demo.css
+++ b/dist/samples/place-autocomplete-element/jsfiddle/demo.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/place-autocomplete-element/jsfiddle/demo.html b/dist/samples/place-autocomplete-element/jsfiddle/demo.html
index d74943e5..e07269a7 100644
--- a/dist/samples/place-autocomplete-element/jsfiddle/demo.html
+++ b/dist/samples/place-autocomplete-element/jsfiddle/demo.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-element/jsfiddle/demo.js b/dist/samples/place-autocomplete-element/jsfiddle/demo.js
index 56f13a9e..150b4481 100644
--- a/dist/samples/place-autocomplete-element/jsfiddle/demo.js
+++ b/dist/samples/place-autocomplete-element/jsfiddle/demo.js
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
async function initMap() {
diff --git a/dist/samples/place-autocomplete-map/app/index.html b/dist/samples/place-autocomplete-map/app/index.html
index 1fe1a5fa..f79e546d 100644
--- a/dist/samples/place-autocomplete-map/app/index.html
+++ b/dist/samples/place-autocomplete-map/app/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-map/app/index.ts b/dist/samples/place-autocomplete-map/app/index.ts
index 4f67a3bc..72fe4e66 100644
--- a/dist/samples/place-autocomplete-map/app/index.ts
+++ b/dist/samples/place-autocomplete-map/app/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_autocomplete_map]
let map: google.maps.Map;
diff --git a/dist/samples/place-autocomplete-map/app/style.css b/dist/samples/place-autocomplete-map/app/style.css
index c04ca673..d59f5467 100644
--- a/dist/samples/place-autocomplete-map/app/style.css
+++ b/dist/samples/place-autocomplete-map/app/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_map] */
diff --git a/dist/samples/place-autocomplete-map/dist/assets/index-C6vG_X_z.js b/dist/samples/place-autocomplete-map/dist/assets/index-C6vG_X_z.js
deleted file mode 100644
index 6193895c..00000000
--- a/dist/samples/place-autocomplete-map/dist/assets/index-C6vG_X_z.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const o of e)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&t(l)}).observe(document,{childList:!0,subtree:!0});function a(e){const o={};return e.integrity&&(o.integrity=e.integrity),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?o.credentials="include":e.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function t(e){if(e.ep)return;e.ep=!0;const o=a(e);fetch(e.href,o)}})();let s,c,i,d={lat:40.749933,lng:-73.98633};async function p(){await Promise.all([google.maps.importLibrary("marker"),google.maps.importLibrary("places")]),s=new google.maps.Map(document.getElementById("map"),{center:d,zoom:13,mapId:"4504f8b37365c3d0",mapTypeControl:!1});const r=new google.maps.places.PlaceAutocompleteElement;r.id="place-autocomplete-input",r.locationBias=d;const n=document.getElementById("place-autocomplete-card");n.appendChild(r),s.controls[google.maps.ControlPosition.TOP_LEFT].push(n),c=new google.maps.marker.AdvancedMarkerElement({map:s}),i=new google.maps.InfoWindow({}),r.addEventListener("gmp-select",async({placePrediction:a})=>{const t=a.toPlace();await t.fetchFields({fields:["displayName","formattedAddress","location"]}),t.viewport?s.fitBounds(t.viewport):(s.setCenter(t.location),s.setZoom(17));let e='
'+t.displayName+' '+t.formattedAddress+"
";m(e,t.location),c.position=t.location})}function m(r,n){i.setContent(r),i.setPosition(n),i.open({map:s,anchor:c,shouldFocus:!1})}p();
diff --git a/dist/samples/place-autocomplete-map/dist/assets/index-CWfE42tL.js b/dist/samples/place-autocomplete-map/dist/assets/index-CWfE42tL.js
new file mode 100644
index 00000000..43349e72
--- /dev/null
+++ b/dist/samples/place-autocomplete-map/dist/assets/index-CWfE42tL.js
@@ -0,0 +1,5 @@
+(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const o of e)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&t(l)}).observe(document,{childList:!0,subtree:!0});function a(e){const o={};return e.integrity&&(o.integrity=e.integrity),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?o.credentials="include":e.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function t(e){if(e.ep)return;e.ep=!0;const o=a(e);fetch(e.href,o)}})();/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */let s,c,i,d={lat:40.749933,lng:-73.98633};async function p(){await Promise.all([google.maps.importLibrary("marker"),google.maps.importLibrary("places")]),s=new google.maps.Map(document.getElementById("map"),{center:d,zoom:13,mapId:"4504f8b37365c3d0",mapTypeControl:!1});const r=new google.maps.places.PlaceAutocompleteElement;r.id="place-autocomplete-input",r.locationBias=d;const n=document.getElementById("place-autocomplete-card");n.appendChild(r),s.controls[google.maps.ControlPosition.TOP_LEFT].push(n),c=new google.maps.marker.AdvancedMarkerElement({map:s}),i=new google.maps.InfoWindow({}),r.addEventListener("gmp-select",async({placePrediction:a})=>{const t=a.toPlace();await t.fetchFields({fields:["displayName","formattedAddress","location"]}),t.viewport?s.fitBounds(t.viewport):(s.setCenter(t.location),s.setZoom(17));let e='
'+t.displayName+' '+t.formattedAddress+"
";m(e,t.location),c.position=t.location})}function m(r,n){i.setContent(r),i.setPosition(n),i.open({map:s,anchor:c,shouldFocus:!1})}p();
diff --git a/dist/samples/place-autocomplete-map/dist/assets/index-BAQjY9RG.css b/dist/samples/place-autocomplete-map/dist/assets/index-Dyfv9Qce.css
similarity index 89%
rename from dist/samples/place-autocomplete-map/dist/assets/index-BAQjY9RG.css
rename to dist/samples/place-autocomplete-map/dist/assets/index-Dyfv9Qce.css
index 567c21bf..1e4d9b83 100644
--- a/dist/samples/place-autocomplete-map/dist/assets/index-BAQjY9RG.css
+++ b/dist/samples/place-autocomplete-map/dist/assets/index-Dyfv9Qce.css
@@ -1,5 +1,5 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/#map{height:100%}html,body{height:100%;margin:0;padding:0}#place-autocomplete-card{background-color:#fff;border-radius:5px;box-shadow:#00000059 0 5px 15px;margin:10px;padding:5px;font-family:Roboto,sans-serif;font-size:large;font-weight:700}gmp-place-autocomplete{width:300px}#infowindow-content .title{font-weight:700}#map #infowindow-content{display:inline}
diff --git a/dist/samples/place-autocomplete-map/dist/index.html b/dist/samples/place-autocomplete-map/dist/index.html
index 6ac8cf78..adca736d 100644
--- a/dist/samples/place-autocomplete-map/dist/index.html
+++ b/dist/samples/place-autocomplete-map/dist/index.html
@@ -1,7 +1,7 @@
@@ -9,8 +9,8 @@
Place Autocomplete map
-
-
+
+
diff --git a/dist/samples/place-autocomplete-map/docs/index.html b/dist/samples/place-autocomplete-map/docs/index.html
index 1fe1a5fa..f79e546d 100644
--- a/dist/samples/place-autocomplete-map/docs/index.html
+++ b/dist/samples/place-autocomplete-map/docs/index.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-map/docs/index.js b/dist/samples/place-autocomplete-map/docs/index.js
index 6e39181f..ac1d78a7 100644
--- a/dist/samples/place-autocomplete-map/docs/index.js
+++ b/dist/samples/place-autocomplete-map/docs/index.js
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_autocomplete_map]
let map;
let marker;
diff --git a/dist/samples/place-autocomplete-map/docs/index.ts b/dist/samples/place-autocomplete-map/docs/index.ts
index 4f67a3bc..72fe4e66 100644
--- a/dist/samples/place-autocomplete-map/docs/index.ts
+++ b/dist/samples/place-autocomplete-map/docs/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_autocomplete_map]
let map: google.maps.Map;
diff --git a/dist/samples/place-autocomplete-map/docs/style.css b/dist/samples/place-autocomplete-map/docs/style.css
index c04ca673..d59f5467 100644
--- a/dist/samples/place-autocomplete-map/docs/style.css
+++ b/dist/samples/place-autocomplete-map/docs/style.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_place_autocomplete_map] */
diff --git a/dist/samples/place-autocomplete-map/jsfiddle/demo.css b/dist/samples/place-autocomplete-map/jsfiddle/demo.css
index 984ef74c..8a8fb574 100644
--- a/dist/samples/place-autocomplete-map/jsfiddle/demo.css
+++ b/dist/samples/place-autocomplete-map/jsfiddle/demo.css
@@ -1,6 +1,6 @@
/**
* @license
- * Copyright 2019 Google LLC. All Rights Reserved.
+ * Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
diff --git a/dist/samples/place-autocomplete-map/jsfiddle/demo.html b/dist/samples/place-autocomplete-map/jsfiddle/demo.html
index e5cf30ee..5cae7467 100644
--- a/dist/samples/place-autocomplete-map/jsfiddle/demo.html
+++ b/dist/samples/place-autocomplete-map/jsfiddle/demo.html
@@ -1,7 +1,7 @@
diff --git a/dist/samples/place-autocomplete-map/jsfiddle/demo.js b/dist/samples/place-autocomplete-map/jsfiddle/demo.js
index e68c434c..44b769b1 100644
--- a/dist/samples/place-autocomplete-map/jsfiddle/demo.js
+++ b/dist/samples/place-autocomplete-map/jsfiddle/demo.js
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
let map;
let marker;
diff --git a/dist/samples/place-text-search/app/index.html b/dist/samples/place-text-search/app/index.html
index b989c388..2e1417a3 100644
--- a/dist/samples/place-text-search/app/index.html
+++ b/dist/samples/place-text-search/app/index.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/place-text-search/app/index.ts b/dist/samples/place-text-search/app/index.ts
index 9cef85b9..c1c92b00 100644
--- a/dist/samples/place-text-search/app/index.ts
+++ b/dist/samples/place-text-search/app/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_text_search]
let map;
diff --git a/dist/samples/place-text-search/app/style.css b/dist/samples/place-text-search/app/style.css
index 659b261e..53491729 100644
--- a/dist/samples/place-text-search/app/style.css
+++ b/dist/samples/place-text-search/app/style.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/* [START maps_place_text_search] */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/place-text-search/dist/assets/index-BUY_NbT6.js b/dist/samples/place-text-search/dist/assets/index-BUY_NbT6.js
deleted file mode 100644
index 005409fc..00000000
--- a/dist/samples/place-text-search/dist/assets/index-BUY_NbT6.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))n(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function n(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();let a,c;async function l(){const{Map:i}=await google.maps.importLibrary("maps");c={lat:37.4161493,lng:-122.0812166},a=new i(document.getElementById("map"),{center:c,zoom:11,mapId:"DEMO_MAP_ID"}),u()}async function u(){const{Place:i}=await google.maps.importLibrary("places"),{AdvancedMarkerElement:r}=await google.maps.importLibrary("marker"),s={textQuery:"Tacos in Mountain View",fields:["displayName","location","businessStatus"],includedType:"restaurant",locationBias:{lat:37.4161493,lng:-122.0812166},isOpenNow:!0,language:"en-US",maxResultCount:8,minRating:3.2,region:"us",useStrictTypeFiltering:!1},{places:n}=await i.searchByText(s);if(n.length){console.log(n);const{LatLngBounds:e}=await google.maps.importLibrary("core"),t=new e;n.forEach(o=>{new r({map:a,position:o.location,title:o.displayName}),t.extend(o.location),console.log(o)}),a.fitBounds(t)}else console.log("No results")}l();
diff --git a/dist/samples/place-text-search/dist/assets/index-CgrE9OxR.js b/dist/samples/place-text-search/dist/assets/index-CgrE9OxR.js
new file mode 100644
index 00000000..4408f3a2
--- /dev/null
+++ b/dist/samples/place-text-search/dist/assets/index-CgrE9OxR.js
@@ -0,0 +1,5 @@
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))n(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function n(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */let a,c;async function l(){const{Map:i}=await google.maps.importLibrary("maps");c={lat:37.4161493,lng:-122.0812166},a=new i(document.getElementById("map"),{center:c,zoom:11,mapId:"DEMO_MAP_ID"}),u()}async function u(){const{Place:i}=await google.maps.importLibrary("places"),{AdvancedMarkerElement:r}=await google.maps.importLibrary("marker"),s={textQuery:"Tacos in Mountain View",fields:["displayName","location","businessStatus"],includedType:"restaurant",locationBias:{lat:37.4161493,lng:-122.0812166},isOpenNow:!0,language:"en-US",maxResultCount:8,minRating:3.2,region:"us",useStrictTypeFiltering:!1},{places:n}=await i.searchByText(s);if(n.length){console.log(n);const{LatLngBounds:e}=await google.maps.importLibrary("core"),t=new e;n.forEach(o=>{new r({map:a,position:o.location,title:o.displayName}),t.extend(o.location),console.log(o)}),a.fitBounds(t)}else console.log("No results")}l();
diff --git a/dist/samples/place-text-search/dist/assets/index-DWepjxzn.css b/dist/samples/place-text-search/dist/assets/index-DWepjxzn.css
deleted file mode 100644
index c49b8a3f..00000000
--- a/dist/samples/place-text-search/dist/assets/index-DWepjxzn.css
+++ /dev/null
@@ -1 +0,0 @@
-#map{height:100%}html,body{height:100%;margin:0;padding:0}
diff --git a/dist/samples/place-text-search/dist/assets/index-kz-ac4rW.css b/dist/samples/place-text-search/dist/assets/index-kz-ac4rW.css
new file mode 100644
index 00000000..c4e6ccdb
--- /dev/null
+++ b/dist/samples/place-text-search/dist/assets/index-kz-ac4rW.css
@@ -0,0 +1,5 @@
+/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */#map{height:100%}html,body{height:100%;margin:0;padding:0}
diff --git a/dist/samples/place-text-search/dist/index.html b/dist/samples/place-text-search/dist/index.html
index 794e4678..f0097ebf 100644
--- a/dist/samples/place-text-search/dist/index.html
+++ b/dist/samples/place-text-search/dist/index.html
@@ -1,26 +1,16 @@
Text Search
-
-
+
+
diff --git a/dist/samples/place-text-search/docs/index.html b/dist/samples/place-text-search/docs/index.html
index b989c388..2e1417a3 100644
--- a/dist/samples/place-text-search/docs/index.html
+++ b/dist/samples/place-text-search/docs/index.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/place-text-search/docs/index.js b/dist/samples/place-text-search/docs/index.js
index a09d082f..5f783081 100644
--- a/dist/samples/place-text-search/docs/index.js
+++ b/dist/samples/place-text-search/docs/index.js
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_text_search]
let map;
let center;
diff --git a/dist/samples/place-text-search/docs/index.ts b/dist/samples/place-text-search/docs/index.ts
index 9cef85b9..c1c92b00 100644
--- a/dist/samples/place-text-search/docs/index.ts
+++ b/dist/samples/place-text-search/docs/index.ts
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
// [START maps_place_text_search]
let map;
diff --git a/dist/samples/place-text-search/docs/style.css b/dist/samples/place-text-search/docs/style.css
index 659b261e..53491729 100644
--- a/dist/samples/place-text-search/docs/style.css
+++ b/dist/samples/place-text-search/docs/style.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/* [START maps_place_text_search] */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/place-text-search/jsfiddle/demo.css b/dist/samples/place-text-search/jsfiddle/demo.css
index 9145f4f5..9957f310 100644
--- a/dist/samples/place-text-search/jsfiddle/demo.css
+++ b/dist/samples/place-text-search/jsfiddle/demo.css
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
/*
* Always set the map height explicitly to define the size of the div element
diff --git a/dist/samples/place-text-search/jsfiddle/demo.html b/dist/samples/place-text-search/jsfiddle/demo.html
index 76a2a8ba..43be44aa 100644
--- a/dist/samples/place-text-search/jsfiddle/demo.html
+++ b/dist/samples/place-text-search/jsfiddle/demo.html
@@ -1,18 +1,8 @@
diff --git a/dist/samples/place-text-search/jsfiddle/demo.js b/dist/samples/place-text-search/jsfiddle/demo.js
index d7c575bc..18515479 100644
--- a/dist/samples/place-text-search/jsfiddle/demo.js
+++ b/dist/samples/place-text-search/jsfiddle/demo.js
@@ -1,18 +1,8 @@
/*
- * Copyright 2025 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
-*/
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */
let map;
let center;
diff --git a/dist/samples/ui-kit-place-search/app/index.ts b/dist/samples/ui-kit-place-search/app/index.ts
index 09e462d8..f648083e 100644
--- a/dist/samples/ui-kit-place-search/app/index.ts
+++ b/dist/samples/ui-kit-place-search/app/index.ts
@@ -93,7 +93,7 @@ async function addMarkers(){
map: map.innerMap
});
placeDetails.addEventListener('gmp-load',() => {
- map.innerMap.fitBounds(place.viewport, { top: 400, left: 200 });
+ map.innerMap.fitBounds(place.viewport, { top: 500, left: 400 });
});
});
diff --git a/dist/samples/ui-kit-place-search/app/style.css b/dist/samples/ui-kit-place-search/app/style.css
index 90b4c949..84211d05 100644
--- a/dist/samples/ui-kit-place-search/app/style.css
+++ b/dist/samples/ui-kit-place-search/app/style.css
@@ -23,7 +23,6 @@ html,
gmp-map {
box-sizing: border-box;
- padding: 0 20px 20px;
height: 600px;
}
diff --git a/dist/samples/ui-kit-place-search/dist/assets/index-7zUsv8BN.css b/dist/samples/ui-kit-place-search/dist/assets/index-7zUsv8BN.css
new file mode 100644
index 00000000..2e74fe66
--- /dev/null
+++ b/dist/samples/ui-kit-place-search/dist/assets/index-7zUsv8BN.css
@@ -0,0 +1,5 @@
+/*
+ * @license
+ * Copyright 2025 Google LLC. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0
+ */html,body{height:100%;margin:0}body{display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif}h1{font-size:16px;text-align:center}gmp-map{box-sizing:border-box;height:600px}.overlay{position:relative;top:40px;margin:20px;width:400px}.controls{display:flex;gap:10px;margin-bottom:10px;height:32px}.search-button{background-color:#5491f5;color:#fff;border:1px solid #ccc;border-radius:5px;width:100px;cursor:pointer}.type-select{border:1px solid #ccc;border-radius:5px;flex-grow:1;padding:0 10px}.list-container{height:400px;overflow:auto;border-radius:10px}gmp-place-list{background-color:#fff}
diff --git a/dist/samples/ui-kit-place-search/dist/assets/index-4cFOkOyn.js b/dist/samples/ui-kit-place-search/dist/assets/index-BGo-3rKT.js
similarity index 95%
rename from dist/samples/ui-kit-place-search/dist/assets/index-4cFOkOyn.js
rename to dist/samples/ui-kit-place-search/dist/assets/index-BGo-3rKT.js
index b26b066c..8010e9f1 100644
--- a/dist/samples/ui-kit-place-search/dist/assets/index-4cFOkOyn.js
+++ b/dist/samples/ui-kit-place-search/dist/assets/index-BGo-3rKT.js
@@ -2,4 +2,4 @@
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
- */const r=document.querySelector("gmp-map"),p=document.querySelector("gmp-place-list"),u=document.querySelector(".type-select"),l=document.querySelector("gmp-place-details");let m=document.querySelector("gmp-advanced-marker"),s={},c;async function g(){await google.maps.importLibrary("places"),await google.maps.importLibrary("maps");const{spherical:a}=await google.maps.importLibrary("geometry");c=new google.maps.InfoWindow;function i(o){const e=a.computeDistanceBetween(o.getNorthEast(),o.getSouthWest())/2,t=Math.min(e,5e4);return{center:o.getCenter(),radius:t}}y(),r.innerMap.setOptions({mapTypeControl:!1,clickableIcons:!1}),u.addEventListener("change",o=>{for(m in s)s[m].map=null;s={},u.value&&(p.configureFromSearchNearbyRequest({locationRestriction:i(r.innerMap.getBounds()),includedPrimaryTypes:[u.value]}).then(f),p.addEventListener("gmp-placeselect",({place:n})=>{s[n.id].click()}))})}async function f(){const{AdvancedMarkerElement:a}=await google.maps.importLibrary("marker"),{LatLngBounds:i}=await google.maps.importLibrary("core"),o=new i;p.places.length>0&&p.places.forEach(n=>{let e=new a({map:r.innerMap,position:n.location});s[n.id]=e,o.extend(n.location),e.addListener("gmp-click",t=>{c.isOpen&&c.close(),l.configureFromPlace(n),l.style.width="350px",c.setOptions({content:l}),c.open({anchor:e,map:r.innerMap}),l.addEventListener("gmp-load",()=>{r.innerMap.fitBounds(n.viewport,{top:400,left:200})})}),r.innerMap.setCenter(o.getCenter()),r.innerMap.fitBounds(o)})}async function y(){const{LatLng:a}=await google.maps.importLibrary("core");navigator.geolocation?navigator.geolocation.getCurrentPosition(i=>{const o=new a(i.coords.latitude,i.coords.longitude);r.innerMap.panTo(o),r.innerMap.setZoom(14)},()=>{console.log("The Geolocation service failed."),r.innerMap.setZoom(14)}):(console.log("Your browser doesn't support geolocation"),r.innerMap.setZoom(14))}window.initMap=g;
+ */const r=document.querySelector("gmp-map"),p=document.querySelector("gmp-place-list"),u=document.querySelector(".type-select"),l=document.querySelector("gmp-place-details");let m=document.querySelector("gmp-advanced-marker"),s={},c;async function g(){await google.maps.importLibrary("places"),await google.maps.importLibrary("maps");const{spherical:a}=await google.maps.importLibrary("geometry");c=new google.maps.InfoWindow;function i(o){const e=a.computeDistanceBetween(o.getNorthEast(),o.getSouthWest())/2,t=Math.min(e,5e4);return{center:o.getCenter(),radius:t}}y(),r.innerMap.setOptions({mapTypeControl:!1,clickableIcons:!1}),u.addEventListener("change",o=>{for(m in s)s[m].map=null;s={},u.value&&(p.configureFromSearchNearbyRequest({locationRestriction:i(r.innerMap.getBounds()),includedPrimaryTypes:[u.value]}).then(f),p.addEventListener("gmp-placeselect",({place:n})=>{s[n.id].click()}))})}async function f(){const{AdvancedMarkerElement:a}=await google.maps.importLibrary("marker"),{LatLngBounds:i}=await google.maps.importLibrary("core"),o=new i;p.places.length>0&&p.places.forEach(n=>{let e=new a({map:r.innerMap,position:n.location});s[n.id]=e,o.extend(n.location),e.addListener("gmp-click",t=>{c.isOpen&&c.close(),l.configureFromPlace(n),l.style.width="350px",c.setOptions({content:l}),c.open({anchor:e,map:r.innerMap}),l.addEventListener("gmp-load",()=>{r.innerMap.fitBounds(n.viewport,{top:500,left:400})})}),r.innerMap.setCenter(o.getCenter()),r.innerMap.fitBounds(o)})}async function y(){const{LatLng:a}=await google.maps.importLibrary("core");navigator.geolocation?navigator.geolocation.getCurrentPosition(i=>{const o=new a(i.coords.latitude,i.coords.longitude);r.innerMap.panTo(o),r.innerMap.setZoom(14)},()=>{console.log("The Geolocation service failed."),r.innerMap.setZoom(14)}):(console.log("Your browser doesn't support geolocation"),r.innerMap.setZoom(14))}window.initMap=g;
diff --git a/dist/samples/ui-kit-place-search/dist/assets/index-lUDwP8WY.css b/dist/samples/ui-kit-place-search/dist/assets/index-lUDwP8WY.css
deleted file mode 100644
index 11cb048e..00000000
--- a/dist/samples/ui-kit-place-search/dist/assets/index-lUDwP8WY.css
+++ /dev/null
@@ -1,5 +0,0 @@
-/*
- * @license
- * Copyright 2025 Google LLC. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0
- */html,body{height:100%;margin:0}body{display:flex;flex-direction:column;font-family:Arial,Helvetica,sans-serif}h1{font-size:16px;text-align:center}gmp-map{box-sizing:border-box;padding:0 20px 20px;height:600px}.overlay{position:relative;top:40px;margin:20px;width:400px}.controls{display:flex;gap:10px;margin-bottom:10px;height:32px}.search-button{background-color:#5491f5;color:#fff;border:1px solid #ccc;border-radius:5px;width:100px;cursor:pointer}.type-select{border:1px solid #ccc;border-radius:5px;flex-grow:1;padding:0 10px}.list-container{height:400px;overflow:auto;border-radius:10px}gmp-place-list{background-color:#fff}
diff --git a/dist/samples/ui-kit-place-search/dist/index.html b/dist/samples/ui-kit-place-search/dist/index.html
index 63db9d8a..db7d957e 100644
--- a/dist/samples/ui-kit-place-search/dist/index.html
+++ b/dist/samples/ui-kit-place-search/dist/index.html
@@ -9,8 +9,8 @@
Place List Nearby Search with Google Maps
-
-
+
+
diff --git a/dist/samples/ui-kit-place-search/docs/index.js b/dist/samples/ui-kit-place-search/docs/index.js
index 30b18ea3..8481f5bc 100644
--- a/dist/samples/ui-kit-place-search/docs/index.js
+++ b/dist/samples/ui-kit-place-search/docs/index.js
@@ -76,7 +76,7 @@ async function addMarkers() {
map: map.innerMap
});
placeDetails.addEventListener('gmp-load', () => {
- map.innerMap.fitBounds(place.viewport, { top: 400, left: 200 });
+ map.innerMap.fitBounds(place.viewport, { top: 500, left: 400 });
});
});
map.innerMap.setCenter(bounds.getCenter());
diff --git a/dist/samples/ui-kit-place-search/docs/index.ts b/dist/samples/ui-kit-place-search/docs/index.ts
index 09e462d8..f648083e 100644
--- a/dist/samples/ui-kit-place-search/docs/index.ts
+++ b/dist/samples/ui-kit-place-search/docs/index.ts
@@ -93,7 +93,7 @@ async function addMarkers(){
map: map.innerMap
});
placeDetails.addEventListener('gmp-load',() => {
- map.innerMap.fitBounds(place.viewport, { top: 400, left: 200 });
+ map.innerMap.fitBounds(place.viewport, { top: 500, left: 400 });
});
});
diff --git a/dist/samples/ui-kit-place-search/docs/style.css b/dist/samples/ui-kit-place-search/docs/style.css
index 90b4c949..84211d05 100644
--- a/dist/samples/ui-kit-place-search/docs/style.css
+++ b/dist/samples/ui-kit-place-search/docs/style.css
@@ -23,7 +23,6 @@ html,
gmp-map {
box-sizing: border-box;
- padding: 0 20px 20px;
height: 600px;
}
diff --git a/dist/samples/ui-kit-place-search/jsfiddle/demo.css b/dist/samples/ui-kit-place-search/jsfiddle/demo.css
index d78d3bb5..c9b62588 100644
--- a/dist/samples/ui-kit-place-search/jsfiddle/demo.css
+++ b/dist/samples/ui-kit-place-search/jsfiddle/demo.css
@@ -23,7 +23,6 @@ html,
gmp-map {
box-sizing: border-box;
- padding: 0 20px 20px;
height: 600px;
}
diff --git a/dist/samples/ui-kit-place-search/jsfiddle/demo.js b/dist/samples/ui-kit-place-search/jsfiddle/demo.js
index 30b18ea3..8481f5bc 100644
--- a/dist/samples/ui-kit-place-search/jsfiddle/demo.js
+++ b/dist/samples/ui-kit-place-search/jsfiddle/demo.js
@@ -76,7 +76,7 @@ async function addMarkers() {
map: map.innerMap
});
placeDetails.addEventListener('gmp-load', () => {
- map.innerMap.fitBounds(place.viewport, { top: 400, left: 200 });
+ map.innerMap.fitBounds(place.viewport, { top: 500, left: 400 });
});
});
map.innerMap.setCenter(bounds.getCenter());