Skip to content

Commit 28abe1d

Browse files
Update dist folder [skip ci] (#937)
1 parent 27073fb commit 28abe1d

File tree

16 files changed

+46
-80
lines changed

16 files changed

+46
-80
lines changed

dist/samples/web-components-map/app/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Google Maps JavaScript Sample
22

3-
This sample is generated from @googlemaps/js-samples located at
4-
https://github.com/googlemaps-samples/js-api-samples.
3+
## web-components-map
4+
5+
The web-components-map sample demonstrates how to use Web Components to create a map.
6+
7+
Follow these instructions to set up and run web-components-map sample on your local computer.
58

69
## Setup
710

@@ -37,4 +40,4 @@ From 'samples':
3740
## Feedback
3841

3942
For feedback related to this sample, please open a new issue on
40-
[GitHub](https://github.com/googlemaps-samples/js-api-samples/issues).
43+
[GitHub](https://github.com/googlemaps-samples/js-api-samples/issues).
Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<!--
33
@license
4-
Copyright 2019 Google LLC. All Rights Reserved.
4+
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
77
<!-- [START maps_web_components_map] -->
@@ -11,27 +11,20 @@
1111

1212
<link rel="stylesheet" type="text/css" href="./style.css" />
1313
<script type="module" src="./index.js"></script>
14+
<script
15+
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps,marker&v=weekly"
16+
defer
17+
></script>
1418
</head>
1519
<body>
1620
<!-- [START maps_web_components_map_gmpmap] -->
1721
<gmp-map
1822
center="37.4220656,-122.0840897"
1923
zoom="10"
2024
map-id="DEMO_MAP_ID"
21-
style="height: 400px"
25+
style="height: 500px"
2226
></gmp-map>
2327
<!-- [END maps_web_components_map_gmpmap] -->
24-
<!--
25-
The `defer` attribute causes the script to execute after the full HTML
26-
document has been parsed. For non-blocking uses, avoiding race conditions,
27-
and consistent behavior across browsers, consider loading using Promises. See
28-
https://developers.google.com/maps/documentation/javascript/load-maps-js-api
29-
for more information.
30-
-->
31-
<script
32-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps,marker&v=weekly"
33-
defer
34-
></script>
3528
</body>
3629
</html>
3730
<!-- [END maps_web_components_map] -->

dist/samples/web-components-map/app/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/**
22
* @license
3-
* Copyright 2019 Google LLC. All Rights Reserved.
3+
* Copyright 2025 Google LLC. All Rights Reserved.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

77
// [START maps_web_components_map]
88
// This example adds a map using web components.
9-
async function initMap(): Promise<void> {
9+
async function initMap() {
1010
console.log('Maps JavaScript API loaded.');
1111
}
1212

dist/samples/web-components-map/app/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google LLC. All Rights Reserved.
3+
* Copyright 2025 Google LLC. All Rights Reserved.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66
/* [START maps_web_components_map] */

dist/samples/web-components-map/dist/assets/index-C4v-LbEc.js renamed to dist/samples/web-components-map/dist/assets/index-5QlSin_f.js

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

dist/samples/web-components-map/dist/assets/index-BKW5gvRo.css

Lines changed: 0 additions & 5 deletions
This file was deleted.

dist/samples/web-components-map/dist/assets/index-tn0RQdqM.css

Whitespace-only changes.
Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,30 @@
11
<!DOCTYPE html>
22
<!--
33
@license
4-
Copyright 2019 Google LLC. All Rights Reserved.
4+
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
77
<!-- [START maps_web_components_map] -->
88
<html>
99
<head>
1010
<title>Add a Map using HTML</title>
1111

12-
<script type="module" crossorigin src="./assets/index-C4v-LbEc.js"></script>
13-
<link rel="stylesheet" crossorigin href="./assets/index-BKW5gvRo.css">
12+
<script
13+
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps,marker&v=weekly"
14+
defer
15+
></script>
16+
<script type="module" crossorigin src="./assets/index-5QlSin_f.js"></script>
17+
<link rel="stylesheet" crossorigin href="./assets/index-tn0RQdqM.css">
1418
</head>
1519
<body>
1620
<!-- [START maps_web_components_map_gmpmap] -->
1721
<gmp-map
1822
center="37.4220656,-122.0840897"
1923
zoom="10"
2024
map-id="DEMO_MAP_ID"
21-
style="height: 400px"
25+
style="height: 500px"
2226
></gmp-map>
2327
<!-- [END maps_web_components_map_gmpmap] -->
24-
<!--
25-
The `defer` attribute causes the script to execute after the full HTML
26-
document has been parsed. For non-blocking uses, avoiding race conditions,
27-
and consistent behavior across browsers, consider loading using Promises. See
28-
https://developers.google.com/maps/documentation/javascript/load-maps-js-api
29-
for more information.
30-
-->
31-
<script
32-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps,marker&v=weekly"
33-
defer
34-
></script>
3528
</body>
3629
</html>
3730
<!-- [END maps_web_components_map] -->
Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<!--
33
@license
4-
Copyright 2019 Google LLC. All Rights Reserved.
4+
Copyright 2025 Google LLC. All Rights Reserved.
55
SPDX-License-Identifier: Apache-2.0
66
-->
77
<!-- [START maps_web_components_map] -->
@@ -11,27 +11,20 @@
1111

1212
<link rel="stylesheet" type="text/css" href="./style.css" />
1313
<script type="module" src="./index.js"></script>
14+
<script
15+
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps,marker&v=weekly"
16+
defer
17+
></script>
1418
</head>
1519
<body>
1620
<!-- [START maps_web_components_map_gmpmap] -->
1721
<gmp-map
1822
center="37.4220656,-122.0840897"
1923
zoom="10"
2024
map-id="DEMO_MAP_ID"
21-
style="height: 400px"
25+
style="height: 500px"
2226
></gmp-map>
2327
<!-- [END maps_web_components_map_gmpmap] -->
24-
<!--
25-
The `defer` attribute causes the script to execute after the full HTML
26-
document has been parsed. For non-blocking uses, avoiding race conditions,
27-
and consistent behavior across browsers, consider loading using Promises. See
28-
https://developers.google.com/maps/documentation/javascript/load-maps-js-api
29-
for more information.
30-
-->
31-
<script
32-
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8&libraries=maps,marker&v=weekly"
33-
defer
34-
></script>
3528
</body>
3629
</html>
3730
<!-- [END maps_web_components_map] -->

dist/samples/web-components-map/docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
/**
33
* @license
4-
* Copyright 2019 Google LLC. All Rights Reserved.
4+
* Copyright 2025 Google LLC. All Rights Reserved.
55
* SPDX-License-Identifier: Apache-2.0
66
*/
77
// [START maps_web_components_map]

0 commit comments

Comments
 (0)