Skip to content

Commit 83f0740

Browse files
Modify gitignore and update simple 3d map sample (#385)
* Stop tracking .DS_Store * Stop tracking .DS_Store * updated simple map html --------- Co-authored-by: William French <[email protected]>
1 parent 93d1042 commit 83f0740

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.DS_Store

-8 KB
Binary file not shown.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ samples/deckgl-editable-geojson
2424
samples/deckgl-kml-raster
2525

2626
.env
27+
28+
# Ignore .DS_Store
29+
.DS_Store

samples/3d-simple-map/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<script type="module" src="./index.js"></script>
1414
</head>
1515
<body>
16-
<gmp-map-3d mode="hybrid" center="37.7704,-122.3985,500" tilt="67.5"></gmp-map-3d>
1716

1817
<!-- prettier-ignore -->
1918
<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))})

0 commit comments

Comments
 (0)