Skip to content

Commit 83c6b0b

Browse files
authored
Merge branch 'main' into migrate-place-ac-simple
2 parents 1d80dd6 + 08ddcc0 commit 83c6b0b

File tree

358 files changed

+1675
-1057
lines changed

Some content is hidden

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

358 files changed

+1675
-1057
lines changed

dist/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ <h1>Maps JSAPI Samples</h1>
1010
<li><a href='/samples/3d-accessibility-features/dist'>3d-accessibility-features</a></li>
1111
<li><a href='/samples/3d-camera-boundary/dist'>3d-camera-boundary</a></li>
1212
<li><a href='/samples/3d-camera-to-around/dist'>3d-camera-to-around</a></li>
13+
<li><a href='/samples/3d-clamp-mode/dist'>3d-clamp-mode</a></li>
1314
<li><a href='/samples/3d-label-toggle/dist'>3d-label-toggle</a></li>
1415
<li><a href='/samples/3d-localization/dist'>3d-localization</a></li>
1516
<li><a href='/samples/3d-map-styling/dist'>3d-map-styling</a></li>

dist/samples/3d-accessibility-features/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+
## 3d-accessibility-features
4+
5+
The 3d-accessibility-features sample demonstrates how to use accessibility features in a 3D map, such as keyboard and screen reader support.
6+
7+
Follow these instructions to set up and run 3d-accessibility-features sample on your local computer.
58

69
## Setup
710

@@ -19,7 +22,7 @@ First `cd` to the folder for the sample to run, then:
1922

2023
From `samples/`:
2124

22-
`$npm run build --workspace=sample-name/`
25+
`$npm run build --workspace=3d-accessibility-features/`
2326

2427
### Build all of the examples.
2528

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<!-- prettier-ignore -->
1919
<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))})
20-
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta",});</script>
20+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
2121
</body>
2222
</html>
2323
<!-- [END maps_3d_accessibility_features] -->
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
html,map{height:100%}body{height:100%;margin:0;padding:0}

dist/samples/3d-accessibility-features/dist/assets/index-C8EVyAYe.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-CoX0ZzLD.js

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

dist/samples/3d-accessibility-features/dist/assets/index-DDwKyjRS.css

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
<head>
1010
<title>Map</title>
1111

12-
<script type="module" crossorigin src="./assets/index-CoX0ZzLD.js"></script>
13-
<link rel="stylesheet" crossorigin href="./assets/index-DDwKyjRS.css">
12+
<script type="module" crossorigin src="./assets/index-C8EVyAYe.js"></script>
13+
<link rel="stylesheet" crossorigin href="./assets/index-BVXE32j3.css">
1414
</head>
1515
<body>
1616
<div id="map"></div>
1717

1818
<!-- prettier-ignore -->
1919
<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))})
20-
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta",});</script>
20+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
2121
</body>
2222
</html>
2323
<!-- [END maps_3d_accessibility_features] -->

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<!-- prettier-ignore -->
1919
<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))})
20-
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta",});</script>
20+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
2121
</body>
2222
</html>
2323
<!-- [END maps_3d_accessibility_features] -->

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<!-- prettier-ignore -->
1919
<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))})
20-
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "beta",});</script>
20+
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly",});</script>
2121
</body>
2222
</html>
2323

0 commit comments

Comments
 (0)