Skip to content

Commit

Permalink
Change GMAP API
Browse files Browse the repository at this point in the history
  • Loading branch information
runette committed Sep 19, 2024
1 parent 1c42f26 commit 4266cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bcp",
"version": "3.1.0.b1",
"version": "3.1.0.b3",
"repository": {
"type": "git",
"url": "git+https://github.com/runette/Big-Cannon-Project.git"
Expand Down
2 changes: 1 addition & 1 deletion bcp/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<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))})({
v: "weekly",
key: "AIzaSyAjR85QEAekYmsSyDPETXxprFpnEsdgjjU",
key: "AIzaSyDQJWuxIaIJRX7jMzoJ4Ws8uJx41ErxSsg",
});
</script>
<link rel="preconnect" href="https://fonts.gstatic.com">
Expand Down

0 comments on commit 4266cdd

Please sign in to comment.