Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dist/samples/deckgl-kml-updated/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!--[START maps_deckgl_kml_updated]-->
<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand Down Expand Up @@ -65,4 +66,5 @@ <h3>Earthquake <br> Magnitude</h3>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
<!--[END maps_deckgl_kml_updated]-->
3 changes: 2 additions & 1 deletion dist/samples/deckgl-kml-updated/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/* [START maps_deckgl_kml_updated] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';

Expand Down Expand Up @@ -220,3 +220,4 @@ async function initMap(): Promise<void> {
}

initMap()
/* [END maps_deckgl_kml_updated] */
4 changes: 2 additions & 2 deletions dist/samples/deckgl-kml-updated/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
"@loaders.gl/kml": "^4.0.0"
"@loaders.gl/kml": "^4.3.4"
},
"devDependencies": {
"apache-arrow": "^20.0.0"
"apache-arrow": "^21.0.0"
}
}
6 changes: 3 additions & 3 deletions dist/samples/deckgl-kml-updated/app/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_add_map] */
/* [START maps_deckgl_kml_updated] */
/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
Expand All @@ -26,7 +26,6 @@
position: relative; /* Set body as positioning context */
font-family: 'Roboto', Arial, sans-serif; /* Set font family */
}
/* [END maps_add_map] */

.tooltip {
position: absolute;
Expand Down Expand Up @@ -68,4 +67,5 @@ h1 {
height: 20px;
margin-right: 10px;
border: 1px solid #000; /* Border for color swatch */
}
}
/* [END maps_deckgl_kml_updated] */
8 changes: 0 additions & 8 deletions dist/samples/deckgl-kml-updated/dist/assets/index-GqTguRga.js

This file was deleted.

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/samples/deckgl-kml-updated/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!--[START maps_deckgl_kml_updated]-->
<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand All @@ -20,7 +21,7 @@



<script type="module" crossorigin src="./assets/index-BTnu1N-d.js"></script>
<script type="module" crossorigin src="./assets/index-_f-vIoDA.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BQbxznls.css">
</head>
<body>
Expand Down Expand Up @@ -65,4 +66,5 @@ <h3>Earthquake <br> Magnitude</h3>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
<!--[END maps_deckgl_kml_updated]-->
4 changes: 3 additions & 1 deletion dist/samples/deckgl-kml-updated/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!--[START maps_deckgl_kml_updated]-->
<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand Down Expand Up @@ -65,4 +66,5 @@ <h3>Earthquake <br> Magnitude</h3>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
<!--[END maps_deckgl_kml_updated]-->
2 changes: 2 additions & 0 deletions dist/samples/deckgl-kml-updated/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_deckgl_kml_updated] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';
// Initialize and add the map
Expand Down Expand Up @@ -161,3 +162,4 @@ async function initMap() {
}
}
initMap();
/* [END maps_deckgl_kml_updated] */
3 changes: 2 additions & 1 deletion dist/samples/deckgl-kml-updated/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/* [START maps_deckgl_kml_updated] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';

Expand Down Expand Up @@ -220,3 +220,4 @@ async function initMap(): Promise<void> {
}

initMap()
/* [END maps_deckgl_kml_updated] */
6 changes: 3 additions & 3 deletions dist/samples/deckgl-kml-updated/docs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_add_map] */
/* [START maps_deckgl_kml_updated] */
/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
Expand All @@ -26,7 +26,6 @@
position: relative; /* Set body as positioning context */
font-family: 'Roboto', Arial, sans-serif; /* Set font family */
}
/* [END maps_add_map] */

.tooltip {
position: absolute;
Expand Down Expand Up @@ -68,4 +67,5 @@ h1 {
height: 20px;
margin-right: 10px;
border: 1px solid #000; /* Border for color swatch */
}
}
/* [END maps_deckgl_kml_updated] */
4 changes: 2 additions & 2 deletions dist/samples/deckgl-kml-updated/jsfiddle/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
position: relative; /* Set body as positioning context */
font-family: 'Roboto', Arial, sans-serif; /* Set font family */
}


.tooltip {
position: absolute;
Expand Down Expand Up @@ -68,4 +67,5 @@ h1 {
height: 20px;
margin-right: 10px;
border: 1px solid #000; /* Border for color swatch */
}
}

3 changes: 2 additions & 1 deletion dist/samples/deckgl-kml-updated/jsfiddle/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->

<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand Down Expand Up @@ -65,4 +66,4 @@ <h3>Earthquake <br> Magnitude</h3>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
2 changes: 2 additions & 0 deletions dist/samples/deckgl-kml-updated/jsfiddle/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_deckgl_kml_updated] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';
// Initialize and add the map
Expand Down Expand Up @@ -161,3 +162,4 @@ async function initMap() {
}
}
initMap();
/* [END maps_deckgl_kml_updated] */
4 changes: 3 additions & 1 deletion dist/samples/deckgl-kml/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!--[START maps_deckgl_kml]-->
<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand Down Expand Up @@ -61,4 +62,5 @@ <h1>Deck.gl KMLLoader</h1>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
<!--[END maps_deckgl_kml]-->
3 changes: 2 additions & 1 deletion dist/samples/deckgl-kml/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/* [START maps_deckgl_kml] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';

Expand Down Expand Up @@ -208,3 +208,4 @@ function hexOrAabbggrrToRgba(color: string): number[] | null {
}

initMap();
/* [END maps_deckgl_kml] */
4 changes: 2 additions & 2 deletions dist/samples/deckgl-kml/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
"@loaders.gl/kml": "^4.0.0"
"@loaders.gl/kml": "^4.3.4"
},
"devDependencies": {
"apache-arrow": "^20.0.0"
"apache-arrow": "^21.0.0"
}
}
6 changes: 3 additions & 3 deletions dist/samples/deckgl-kml/app/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_add_map] */
/* [START maps_deckgl_kml] */
/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
Expand All @@ -26,7 +26,6 @@
position: relative; /* Set body as positioning context */
font-family: 'Roboto', Arial, sans-serif; /* Set font family */
}
/* [END maps_add_map] */

.tooltip {
position: absolute;
Expand All @@ -43,4 +42,5 @@
h1 {
text-align: center;
margin:10px;
}
}
/* [END maps_deckgl_kml] */
8 changes: 0 additions & 8 deletions dist/samples/deckgl-kml/dist/assets/index-BNP4ZKdI.js

This file was deleted.

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/samples/deckgl-kml/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!--[START maps_deckgl_kml]-->
<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand All @@ -20,7 +21,7 @@



<script type="module" crossorigin src="./assets/index-DEpFlh_w.js"></script>
<script type="module" crossorigin src="./assets/index-CqpOemNE.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-C1_76PH0.css">
</head>
<body>
Expand Down Expand Up @@ -61,4 +62,5 @@ <h1>Deck.gl KMLLoader</h1>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
<!--[END maps_deckgl_kml]-->
4 changes: 3 additions & 1 deletion dist/samples/deckgl-kml/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Copyright 2025 Google LLC. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
-->
<!--[START maps_deckgl_kml]-->
<html>
<head>
<title>deck.gl KMLLoader and Google Maps Platform</title>
Expand Down Expand Up @@ -61,4 +62,5 @@ <h1>Deck.gl KMLLoader</h1>
<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))})
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
</body>
</html>
</html>
<!--[END maps_deckgl_kml]-->
2 changes: 2 additions & 0 deletions dist/samples/deckgl-kml/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_deckgl_kml] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';
// Initialize and add the map
Expand Down Expand Up @@ -161,3 +162,4 @@ function hexOrAabbggrrToRgba(color) {
return null; // Invalid format
}
initMap();
/* [END maps_deckgl_kml] */
3 changes: 2 additions & 1 deletion dist/samples/deckgl-kml/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/

/* [START maps_deckgl_kml] */
// Import necessary loader
import { KMLLoader } from '@loaders.gl/kml';

Expand Down Expand Up @@ -208,3 +208,4 @@ function hexOrAabbggrrToRgba(color: string): number[] | null {
}

initMap();
/* [END maps_deckgl_kml] */
6 changes: 3 additions & 3 deletions dist/samples/deckgl-kml/docs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
/* [START maps_add_map] */
/* [START maps_deckgl_kml] */
/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
Expand All @@ -26,7 +26,6 @@
position: relative; /* Set body as positioning context */
font-family: 'Roboto', Arial, sans-serif; /* Set font family */
}
/* [END maps_add_map] */

.tooltip {
position: absolute;
Expand All @@ -43,4 +42,5 @@
h1 {
text-align: center;
margin:10px;
}
}
/* [END maps_deckgl_kml] */
4 changes: 2 additions & 2 deletions dist/samples/deckgl-kml/jsfiddle/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
position: relative; /* Set body as positioning context */
font-family: 'Roboto', Arial, sans-serif; /* Set font family */
}


.tooltip {
position: absolute;
Expand All @@ -43,4 +42,5 @@
h1 {
text-align: center;
margin:10px;
}
}

Loading