Skip to content

Commit 51c9775

Browse files
Update dist folder [skip ci] (#535)
1 parent 56a2374 commit 51c9775

File tree

12 files changed

+22
-19
lines changed

12 files changed

+22
-19
lines changed

dist/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ <h1>Maps JSAPI Samples</h1>
4343
<li><a href='/samples/place-autocomplete-element/dist'>place-autocomplete-element</a></li>
4444
<li><a href='/samples/place-autocomplete-map/dist'>place-autocomplete-map</a></li>
4545
<li><a href='/samples/place-text-search/dist'>place-text-search</a></li>
46+
<li><a href='/samples/test-example/dist'>test-example</a></li>
4647
<li><a href='/samples/ui-kit-customization/dist'>ui-kit-customization</a></li>
4748
<li><a href='/samples/ui-kit-place-details/dist'>ui-kit-place-details</a></li>
4849
<li><a href='/samples/ui-kit-place-details-compact/dist'>ui-kit-place-details-compact</a></li>

dist/samples/test-example/app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515
<body>
1616
<!--[START maps_test_example_heading]-->
17-
<h3>My Google Maps Demo</h3>
17+
<h3>Maps Test Example</h3>
1818
<!--[END maps_test_example_heading]-->
1919
<!--[START maps_test_example_body]-->
2020
<div id="map"></div>

dist/samples/test-example/app/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
* Copyright 2025 Google LLC. All Rights Reserved.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6-
// TEST COMMENT 009
6+
77
// [START maps_test_example]
88
// Initialize and add the map.
99
let map;
1010
async function initMap(): Promise<void> {
1111
// [START maps_test_example_instantiate_map]
12-
// The location of Uluru, Australia.
12+
// The location of Uluru.
1313
const position = {lat: -25.344, lng: 131.031};
1414

1515
// Request the needed libraries.
@@ -18,7 +18,7 @@ async function initMap(): Promise<void> {
1818
const {AdvancedMarkerElement} =
1919
await google.maps.importLibrary('marker') as google.maps.MarkerLibrary;
2020

21-
// The map, centered at Uluru, Australia.
21+
// The map, centered at Uluru.
2222
map = new Map(document.getElementById('map') as HTMLElement, {
2323
zoom: 4,
2424
center: position,

dist/samples/test-example/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@js-api-samples/test-example",
33
"version": "1.0.0",
44
"scripts": {
5-
"build": "tsc && bash ../jsfiddle.sh test-example && bash ../app.sh test-example && bash ../docs.sh test-example && npm run build:vite --workspace=.",
5+
"build": "tsc && bash ../jsfiddle.sh test-example && bash ../app.sh test-example && bash ../docs.sh test-example && npm run build:vite --workspace=. && bash ../dist.sh test-example",
66
"test": "tsc && npm run build:vite --workspace=.",
77
"start": "tsc && vite build --base './' && vite",
88
"build:vite": "vite build --base './'",

dist/samples/test-example/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515
<body>
1616
<!--[START maps_test_example_heading]-->
17-
<h3>My Google Maps Demo</h3>
17+
<h3>Maps Test Example</h3>
1818
<!--[END maps_test_example_heading]-->
1919
<!--[START maps_test_example_body]-->
2020
<div id="map"></div>

dist/samples/test-example/docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515
<body>
1616
<!--[START maps_test_example_heading]-->
17-
<h3>My Google Maps Demo</h3>
17+
<h3>Maps Test Example</h3>
1818
<!--[END maps_test_example_heading]-->
1919
<!--[START maps_test_example_body]-->
2020
<div id="map"></div>

dist/samples/test-example/docs/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
* Copyright 2025 Google LLC. All Rights Reserved.
55
* SPDX-License-Identifier: Apache-2.0
66
*/
7-
// TEST COMMENT 009
87
// [START maps_test_example]
98
// Initialize and add the map.
109
let map;
1110
async function initMap() {
1211
// [START maps_test_example_instantiate_map]
13-
// The location of Uluru, Australia.
12+
// The location of Uluru.
1413
const position = { lat: -25.344, lng: 131.031 };
1514
// Request the needed libraries.
1615
const { Map } = await google.maps.importLibrary('maps');
1716
const { AdvancedMarkerElement } = await google.maps.importLibrary('marker');
18-
// The map, centered at Uluru, Australia.
17+
// The map, centered at Uluru.
1918
map = new Map(document.getElementById('map'), {
2019
zoom: 4,
2120
center: position,

dist/samples/test-example/docs/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
* Copyright 2025 Google LLC. All Rights Reserved.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6-
// TEST COMMENT 009
6+
77
// [START maps_test_example]
88
// Initialize and add the map.
99
let map;
1010
async function initMap(): Promise<void> {
1111
// [START maps_test_example_instantiate_map]
12-
// The location of Uluru, Australia.
12+
// The location of Uluru.
1313
const position = {lat: -25.344, lng: 131.031};
1414

1515
// Request the needed libraries.
@@ -18,7 +18,7 @@ async function initMap(): Promise<void> {
1818
const {AdvancedMarkerElement} =
1919
await google.maps.importLibrary('marker') as google.maps.MarkerLibrary;
2020

21-
// The map, centered at Uluru, Australia.
21+
// The map, centered at Uluru.
2222
map = new Map(document.getElementById('map') as HTMLElement, {
2323
zoom: 4,
2424
center: position,

dist/samples/test-example/jsfiddle/demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</head>
1515
<body>
1616

17-
<h3>My Google Maps Demo</h3>
17+
<h3>Maps Test Example</h3>
1818

1919

2020
<div id="map"></div>

dist/samples/test-example/jsfiddle/demo.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
* Copyright 2025 Google LLC. All Rights Reserved.
55
* SPDX-License-Identifier: Apache-2.0
66
*/
7-
// TEST COMMENT 009
87

98
// Initialize and add the map.
109
let map;
1110
async function initMap() {
1211

13-
// The location of Uluru, Australia.
12+
// The location of Uluru.
1413
const position = { lat: -25.344, lng: 131.031 };
1514
// Request the needed libraries.
1615
const { Map } = await google.maps.importLibrary('maps');
1716
const { AdvancedMarkerElement } = await google.maps.importLibrary('marker');
18-
// The map, centered at Uluru, Australia.
17+
// The map, centered at Uluru.
1918
map = new Map(document.getElementById('map'), {
2019
zoom: 4,
2120
center: position,

0 commit comments

Comments
 (0)