Skip to content

Commit 2fa3b71

Browse files
Update dist folder [skip ci] (#1395)
1 parent e33bcdc commit 2fa3b71

257 files changed

Lines changed: 848 additions & 488 deletions

File tree

Some content is hidden

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

dist/samples/3d-accessibility-features/app/index.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66

77
// [START maps_3d_accessibility_features]
88
async function initMap() {
9-
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } =
10-
await google.maps.importLibrary('maps3d');
11-
const { PinElement } = await google.maps.importLibrary('marker');
9+
const [
10+
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
11+
{ PinElement },
12+
] = await Promise.all([
13+
google.maps.importLibrary('maps3d'),
14+
google.maps.importLibrary('marker'),
15+
]);
1216

1317
const map = new Map3DElement({
1418
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.7 },

dist/samples/3d-accessibility-features/dist/assets/index-CAWeQ9mC.js

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

dist/samples/3d-accessibility-features/dist/assets/index-y43h04GL.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/samples/3d-accessibility-features/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<head>
1010
<title>Map</title>
1111

12-
<script type="module" crossorigin src="./assets/index-y43h04GL.js"></script>
12+
<script type="module" crossorigin src="./assets/index-CAWeQ9mC.js"></script>
1313
<link rel="stylesheet" crossorigin href="./assets/index-BVXE32j3.css">
1414
</head>
1515
<body>

dist/samples/3d-accessibility-features/docs/index.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77

88
// [START maps_3d_accessibility_features]
99
async function initMap() {
10-
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } =
11-
await google.maps.importLibrary('maps3d');
12-
const { PinElement } = await google.maps.importLibrary('marker');
10+
const [
11+
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
12+
{ PinElement },
13+
] = await Promise.all([
14+
google.maps.importLibrary('maps3d'),
15+
google.maps.importLibrary('marker'),
16+
]);
1317

1418
const map = new Map3DElement({
1519
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.7 },

dist/samples/3d-accessibility-features/docs/index.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66

77
// [START maps_3d_accessibility_features]
88
async function initMap() {
9-
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } =
10-
await google.maps.importLibrary('maps3d');
11-
const { PinElement } = await google.maps.importLibrary('marker');
9+
const [
10+
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
11+
{ PinElement },
12+
] = await Promise.all([
13+
google.maps.importLibrary('maps3d'),
14+
google.maps.importLibrary('marker'),
15+
]);
1216

1317
const map = new Map3DElement({
1418
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.7 },

dist/samples/3d-accessibility-features/jsfiddle/demo.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@
66
*/
77

88
async function initMap() {
9-
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } =
10-
await google.maps.importLibrary('maps3d');
11-
const { PinElement } = await google.maps.importLibrary('marker');
9+
const [
10+
{ Map3DElement, Marker3DInteractiveElement, PopoverElement },
11+
{ PinElement },
12+
] = await Promise.all([
13+
google.maps.importLibrary('maps3d'),
14+
google.maps.importLibrary('marker'),
15+
]);
1216

1317
const map = new Map3DElement({
1418
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.7 },

dist/samples/3d-coverage-map/app/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ const placeAutocomplete = document.querySelector('gmp-place-autocomplete')!;
1818

1919
async function initMap() {
2020
// Request needed libraries.
21-
await google.maps.importLibrary('maps');
22-
await google.maps.importLibrary('places');
21+
await Promise.all([
22+
google.maps.importLibrary('maps'),
23+
google.maps.importLibrary('places'),
24+
]);
2325

2426
// Get the inner map from the map element.
2527
const innerMap = mapElement.innerMap;

dist/samples/3d-coverage-map/dist/assets/index-C4Z3r0kD.js renamed to dist/samples/3d-coverage-map/dist/assets/index-Dhlabv1v.js

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

dist/samples/3d-coverage-map/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<head>
1010
<title>Map</title>
1111

12-
<script type="module" crossorigin src="./assets/index-C4Z3r0kD.js"></script>
12+
<script type="module" crossorigin src="./assets/index-Dhlabv1v.js"></script>
1313
<link rel="stylesheet" crossorigin href="./assets/index-CK-u5jrc.css">
1414
</head>
1515
<body>

0 commit comments

Comments
 (0)