File tree Expand file tree Collapse file tree 7 files changed +28
-12
lines changed
dist/samples/deckgl-polygon Expand file tree Collapse file tree 7 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66/* [START maps_deckgl_polygon] */
7+ // Initialize and add the map
8+ let map : google . maps . Map ;
9+ let polygonLayer : deck . PolygonLayer ; // Declare polygonLayer outside for button access
10+ let googleMapsOverlay : deck . GoogleMapsOverlay ; // Declare googleMapsOverlay outside for button access
11+
712// Declare global namespace for Deck.gl to satisfy TypeScript compiler
813declare namespace deck {
914 class PolygonLayer {
@@ -20,11 +25,6 @@ declare namespace deck {
2025 // Add other Deck.gl types used globally if needed
2126}
2227
23- // Initialize and add the map
24- let map : google . maps . Map ;
25- let polygonLayer : deck . PolygonLayer ; // Declare polygonLayer outside for button access
26- let googleMapsOverlay : deck . GoogleMapsOverlay ; // Declare googleMapsOverlay outside for button access
27-
2828async function initMap ( ) : Promise < void > {
2929 // Progress bar logic moved from index.html
3030 var progress , progressDiv = document . querySelector ( ".mdc-linear-progress" ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2020
2121
2222
23- < script type ="module " crossorigin src ="./assets/index--YAHIMlV .js "> </ script >
23+ < script type ="module " crossorigin src ="./assets/index-Cdk1EUKh .js "> </ script >
2424 < link rel ="stylesheet " crossorigin href ="./assets/index-5cxXJn4L.css ">
2525 </ head >
2626 < body >
Original file line number Diff line number Diff line change 11"use strict" ;
2+ /*
3+ * @license
4+ * Copyright 2025 Google LLC. All Rights Reserved.
5+ * SPDX-License-Identifier: Apache-2.0
6+ */
7+ /* [START maps_deckgl_polygon] */
28// Initialize and add the map
39let map ;
410let polygonLayer ; // Declare polygonLayer outside for button access
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66/* [START maps_deckgl_polygon] */
7+ // Initialize and add the map
8+ let map : google . maps . Map ;
9+ let polygonLayer : deck . PolygonLayer ; // Declare polygonLayer outside for button access
10+ let googleMapsOverlay : deck . GoogleMapsOverlay ; // Declare googleMapsOverlay outside for button access
11+
712// Declare global namespace for Deck.gl to satisfy TypeScript compiler
813declare namespace deck {
914 class PolygonLayer {
@@ -20,11 +25,6 @@ declare namespace deck {
2025 // Add other Deck.gl types used globally if needed
2126}
2227
23- // Initialize and add the map
24- let map : google . maps . Map ;
25- let polygonLayer : deck . PolygonLayer ; // Declare polygonLayer outside for button access
26- let googleMapsOverlay : deck . GoogleMapsOverlay ; // Declare googleMapsOverlay outside for button access
27-
2828async function initMap ( ) : Promise < void > {
2929 // Progress bar logic moved from index.html
3030 var progress , progressDiv = document . querySelector ( ".mdc-linear-progress" ) ;
Original file line number Diff line number Diff line change 11"use strict" ;
2+ /*
3+ * @license
4+ * Copyright 2025 Google LLC. All Rights Reserved.
5+ * SPDX-License-Identifier: Apache-2.0
6+ */
7+ /* [START maps_deckgl_polygon] */
28// Initialize and add the map
39let map ;
410let polygonLayer ; // Declare polygonLayer outside for button access
You can’t perform that action at this time.
0 commit comments