Skip to content

Commit 0cc3b82

Browse files
Update dist folder [skip ci] (#972)
Co-authored-by: William French <[email protected]>
1 parent 311773a commit 0cc3b82

File tree

1,050 files changed

+26258
-22898
lines changed

Some content is hidden

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

1,050 files changed

+26258
-22898
lines changed

dist/samples/3d-accessibility-features/app/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ From `samples/`:
3333

3434
For feedback related to this sample, please open a new issue on
3535
[GitHub](https://github.com/googlemaps-samples/js-api-samples/issues).
36-

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
-->
77
<!-- [START maps_3d_accessibility_features] -->
88
<html>
9-
<head>
10-
<title>Map</title>
9+
<head>
10+
<title>Map</title>
1111

12-
<link rel="stylesheet" type="text/css" href="./style.css" />
13-
<script type="module" src="./index.js"></script>
14-
</head>
15-
<body>
16-
<div id="map"></div>
12+
<link rel="stylesheet" type="text/css" href="./style.css" />
13+
<script type="module" src="./index.js"></script>
14+
</head>
15+
<body>
16+
<div id="map"></div>
1717

18-
<!-- prettier-ignore -->
19-
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
18+
<!-- prettier-ignore -->
19+
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
2020
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
21-
</body>
21+
</body>
2222
</html>
2323
<!-- [END maps_3d_accessibility_features] -->

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

Lines changed: 65 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,82 @@
11
/*
2-
* @license
3-
* Copyright 2025 Google LLC. All Rights Reserved.
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
2+
* @license
3+
* Copyright 2025 Google LLC. All Rights Reserved.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
66

77
// @ts-nocheck
88
// [START maps_3d_accessibility_features]
99
async function initMap() {
10-
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } = await google.maps.importLibrary("maps3d");
11-
const { PinElement } = await google.maps.importLibrary("marker");
10+
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } =
11+
await google.maps.importLibrary('maps3d');
12+
const { PinElement } = await google.maps.importLibrary('marker');
1213

13-
const map = new Map3DElement({
14-
center: { lat: 34.8405, lng : -111.7909, altitude: 1322.70 }, range: 13279.50, tilt: 67.44 ,heading: 0.01,
15-
mode: 'SATELLITE',
16-
gestureHandling: "COOPERATIVE"
17-
});
14+
const map = new Map3DElement({
15+
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.7 },
16+
range: 13279.5,
17+
tilt: 67.44,
18+
heading: 0.01,
19+
mode: 'SATELLITE',
20+
gestureHandling: 'COOPERATIVE',
21+
});
1822

19-
// Set LatLng and title text for the markers. The first marker (Boynton Pass)
20-
// receives the initial focus when tab is pressed. Use arrow keys to move
21-
// between markers; press tab again to cycle through the map controls.
22-
const tourStops = [
23-
{
24-
position: { lat: 34.8791806, lng: -111.8265049 },
25-
title: "Boynton Pass",
26-
},
27-
{
28-
position: { lat: 34.8559195, lng: -111.7988186 },
29-
title: "Airport Mesa",
30-
},
31-
{
32-
position: { lat: 34.832149, lng: -111.7695277 },
33-
title: "Chapel of the Holy Cross",
34-
},
35-
{
36-
position: { lat: 34.823736, lng: -111.8001857 },
37-
title: "Red Rock Crossing",
38-
},
39-
{
40-
position: { lat: 34.800326, lng: -111.7665047 },
41-
title: "Bell Rock",
42-
},
43-
];
23+
// Set LatLng and title text for the markers. The first marker (Boynton Pass)
24+
// receives the initial focus when tab is pressed. Use arrow keys to move
25+
// between markers; press tab again to cycle through the map controls.
26+
const tourStops = [
27+
{
28+
position: { lat: 34.8791806, lng: -111.8265049 },
29+
title: 'Boynton Pass',
30+
},
31+
{
32+
position: { lat: 34.8559195, lng: -111.7988186 },
33+
title: 'Airport Mesa',
34+
},
35+
{
36+
position: { lat: 34.832149, lng: -111.7695277 },
37+
title: 'Chapel of the Holy Cross',
38+
},
39+
{
40+
position: { lat: 34.823736, lng: -111.8001857 },
41+
title: 'Red Rock Crossing',
42+
},
43+
{
44+
position: { lat: 34.800326, lng: -111.7665047 },
45+
title: 'Bell Rock',
46+
},
47+
];
4448

45-
tourStops.forEach(({ position, title }, i) => {
46-
const pin = new PinElement({
47-
glyphText: `${i + 1}`,
48-
scale: 1.5,
49-
glyphColor: "#FFFFFF"
50-
});
51-
const popover = new PopoverElement();
49+
tourStops.forEach(({ position, title }, i) => {
50+
const pin = new PinElement({
51+
glyphText: `${i + 1}`,
52+
scale: 1.5,
53+
glyphColor: '#FFFFFF',
54+
});
55+
const popover = new PopoverElement();
5256

53-
const content = `${i + 1}. ${title}`;
54-
const header = document.createElement('span');
55-
// Include the label for screen readers.
56-
header.ariaLabel = `This is marker ${i + 1}. ${title}`;
57-
header.slot = 'header';
57+
const content = `${i + 1}. ${title}`;
58+
const header = document.createElement('span');
59+
// Include the label for screen readers.
60+
header.ariaLabel = `This is marker ${i + 1}. ${title}`;
61+
header.slot = 'header';
5862

59-
popover.append(header);
60-
popover.append(content);
63+
popover.append(header);
64+
popover.append(content);
6165

62-
const interactiveMarker = new Marker3DInteractiveElement({
63-
// Include a title, used for accessibility text for use by screen readers.
64-
title,
65-
position,
66-
gmpPopoverTargetElement: popover
67-
});
66+
const interactiveMarker = new Marker3DInteractiveElement({
67+
// Include a title, used for accessibility text for use by screen readers.
68+
title,
69+
position,
70+
gmpPopoverTargetElement: popover,
71+
});
6872

69-
interactiveMarker.append(pin);
73+
interactiveMarker.append(pin);
7074

71-
map.append(interactiveMarker);
72-
map.append(popover);
73-
});
75+
map.append(interactiveMarker);
76+
map.append(popover);
77+
});
7478

75-
document.body.append(map);
79+
document.body.append(map);
7680
}
7781

7882
initMap();

dist/samples/3d-accessibility-features/app/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
*/
1010
html,
1111
map {
12-
height: 100%;
12+
height: 100%;
1313
}
1414
body {
15-
height: 100%;
16-
margin: 0;
17-
padding: 0;
15+
height: 100%;
16+
margin: 0;
17+
padding: 0;
1818
}
1919
/* [END maps_3d_accessibility_features] */

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
-->
77
<!-- [START maps_3d_accessibility_features] -->
88
<html>
9-
<head>
10-
<title>Map</title>
9+
<head>
10+
<title>Map</title>
1111

12-
<script type="module" crossorigin src="./assets/index-C8EVyAYe.js"></script>
13-
<link rel="stylesheet" crossorigin href="./assets/index-BVXE32j3.css">
14-
</head>
15-
<body>
16-
<div id="map"></div>
12+
<script type="module" crossorigin src="./assets/index-C8EVyAYe.js"></script>
13+
<link rel="stylesheet" crossorigin href="./assets/index-BVXE32j3.css">
14+
</head>
15+
<body>
16+
<div id="map"></div>
1717

18-
<!-- prettier-ignore -->
19-
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
18+
<!-- prettier-ignore -->
19+
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
2020
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
21-
</body>
21+
</body>
2222
</html>
2323
<!-- [END maps_3d_accessibility_features] -->

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
-->
77
<!-- [START maps_3d_accessibility_features] -->
88
<html>
9-
<head>
10-
<title>Map</title>
9+
<head>
10+
<title>Map</title>
1111

12-
<link rel="stylesheet" type="text/css" href="./style.css" />
13-
<script type="module" src="./index.js"></script>
14-
</head>
15-
<body>
16-
<div id="map"></div>
12+
<link rel="stylesheet" type="text/css" href="./style.css" />
13+
<script type="module" src="./index.js"></script>
14+
</head>
15+
<body>
16+
<div id="map"></div>
1717

18-
<!-- prettier-ignore -->
19-
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
18+
<!-- prettier-ignore -->
19+
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
2020
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
21-
</body>
21+
</body>
2222
</html>
2323
<!-- [END maps_3d_accessibility_features] -->

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

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,52 @@
11
"use strict";
22
/*
3-
* @license
4-
* Copyright 2025 Google LLC. All Rights Reserved.
5-
* SPDX-License-Identifier: Apache-2.0
6-
*/
3+
* @license
4+
* Copyright 2025 Google LLC. All Rights Reserved.
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
77
// @ts-nocheck
88
// [START maps_3d_accessibility_features]
99
async function initMap() {
10-
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } = await google.maps.importLibrary("maps3d");
11-
const { PinElement } = await google.maps.importLibrary("marker");
10+
const { Map3DElement, Marker3DInteractiveElement, PopoverElement } = await google.maps.importLibrary('maps3d');
11+
const { PinElement } = await google.maps.importLibrary('marker');
1212
const map = new Map3DElement({
13-
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.70 }, range: 13279.50, tilt: 67.44, heading: 0.01,
13+
center: { lat: 34.8405, lng: -111.7909, altitude: 1322.7 },
14+
range: 13279.5,
15+
tilt: 67.44,
16+
heading: 0.01,
1417
mode: 'SATELLITE',
15-
gestureHandling: "COOPERATIVE"
18+
gestureHandling: 'COOPERATIVE',
1619
});
1720
// Set LatLng and title text for the markers. The first marker (Boynton Pass)
1821
// receives the initial focus when tab is pressed. Use arrow keys to move
1922
// between markers; press tab again to cycle through the map controls.
2023
const tourStops = [
2124
{
2225
position: { lat: 34.8791806, lng: -111.8265049 },
23-
title: "Boynton Pass",
26+
title: 'Boynton Pass',
2427
},
2528
{
2629
position: { lat: 34.8559195, lng: -111.7988186 },
27-
title: "Airport Mesa",
30+
title: 'Airport Mesa',
2831
},
2932
{
3033
position: { lat: 34.832149, lng: -111.7695277 },
31-
title: "Chapel of the Holy Cross",
34+
title: 'Chapel of the Holy Cross',
3235
},
3336
{
3437
position: { lat: 34.823736, lng: -111.8001857 },
35-
title: "Red Rock Crossing",
38+
title: 'Red Rock Crossing',
3639
},
3740
{
3841
position: { lat: 34.800326, lng: -111.7665047 },
39-
title: "Bell Rock",
42+
title: 'Bell Rock',
4043
},
4144
];
4245
tourStops.forEach(({ position, title }, i) => {
4346
const pin = new PinElement({
4447
glyphText: `${i + 1}`,
4548
scale: 1.5,
46-
glyphColor: "#FFFFFF"
49+
glyphColor: '#FFFFFF',
4750
});
4851
const popover = new PopoverElement();
4952
const content = `${i + 1}. ${title}`;
@@ -57,7 +60,7 @@ async function initMap() {
5760
// Include a title, used for accessibility text for use by screen readers.
5861
title,
5962
position,
60-
gmpPopoverTargetElement: popover
63+
gmpPopoverTargetElement: popover,
6164
});
6265
interactiveMarker.append(pin);
6366
map.append(interactiveMarker);

0 commit comments

Comments
 (0)