diff --git a/dist/samples/3d-polygon-extruded-hole/app/index.ts b/dist/samples/3d-polygon-extruded-hole/app/index.ts
index f4fd8b59..1a11de44 100644
--- a/dist/samples/3d-polygon-extruded-hole/app/index.ts
+++ b/dist/samples/3d-polygon-extruded-hole/app/index.ts
@@ -30,16 +30,14 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208, altitude: 200 },
{ lat: 40.6993, lng: -74.019, altitude: 200 },
- { lat: 40.7035, lng: -74.0004, altitude: 200 },
- { lat: 40.7144, lng: -74.0208, altitude: 200 }
+ { lat: 40.7035, lng: -74.0004, altitude: 200 }
];
examplePolygon.innerCoordinates = [
[
{ lat: 40.71, lng: -74.0175, altitude: 200 },
{ lat: 40.703, lng: -74.0165, altitude: 200 },
- { lat: 40.7035, lng: -74.006, altitude: 200 },
- { lat: 40.71, lng: -74.0175, altitude: 200 }
+ { lat: 40.7035, lng: -74.006, altitude: 200 }
]
];
diff --git a/dist/samples/3d-polygon-extruded-hole/dist/assets/index-D6xZirmX.js b/dist/samples/3d-polygon-extruded-hole/dist/assets/index-ChgjZwvp.js
similarity index 50%
rename from dist/samples/3d-polygon-extruded-hole/dist/assets/index-D6xZirmX.js
rename to dist/samples/3d-polygon-extruded-hole/dist/assets/index-ChgjZwvp.js
index 5046c4be..cf4aac58 100644
--- a/dist/samples/3d-polygon-extruded-hole/dist/assets/index-D6xZirmX.js
+++ b/dist/samples/3d-polygon-extruded-hole/dist/assets/index-ChgjZwvp.js
@@ -1,5 +1,5 @@
-(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function r(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();/*
+(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))l(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&l(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function l(e){if(e.ep)return;e.ep=!0;const t=n(e);fetch(e.href,t)}})();/*
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
-*/async function a(){const{Map3DElement:i,MapMode:l,AltitudeMode:n,Polygon3DElement:r}=await google.maps.importLibrary("maps3d"),e=new i({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:l.HYBRID}),t={strokeColor:"#0000ff80",strokeWidth:8,fillColor:"#ff000080",drawsOccludedSegments:!1,extruded:!0,altitudeMode:n.RELATIVE_TO_GROUND},o=new google.maps.maps3d.Polygon3DElement(t);o.outerCoordinates=[{lat:40.7144,lng:-74.0208,altitude:200},{lat:40.6993,lng:-74.019,altitude:200},{lat:40.7035,lng:-74.0004,altitude:200},{lat:40.7144,lng:-74.0208,altitude:200}],o.innerCoordinates=[[{lat:40.71,lng:-74.0175,altitude:200},{lat:40.703,lng:-74.0165,altitude:200},{lat:40.7035,lng:-74.006,altitude:200},{lat:40.71,lng:-74.0175,altitude:200}]],e.append(o),document.body.append(e)}a();
+*/async function s(){const{Map3DElement:i,MapMode:r,AltitudeMode:n,Polygon3DElement:l}=await google.maps.importLibrary("maps3d"),e=new i({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:r.HYBRID}),t={strokeColor:"#0000ff80",strokeWidth:8,fillColor:"#ff000080",drawsOccludedSegments:!1,extruded:!0,altitudeMode:n.RELATIVE_TO_GROUND},o=new google.maps.maps3d.Polygon3DElement(t);o.outerCoordinates=[{lat:40.7144,lng:-74.0208,altitude:200},{lat:40.6993,lng:-74.019,altitude:200},{lat:40.7035,lng:-74.0004,altitude:200}],o.innerCoordinates=[[{lat:40.71,lng:-74.0175,altitude:200},{lat:40.703,lng:-74.0165,altitude:200},{lat:40.7035,lng:-74.006,altitude:200}]],e.append(o),document.body.append(e)}s();
diff --git a/dist/samples/3d-polygon-extruded-hole/dist/index.html b/dist/samples/3d-polygon-extruded-hole/dist/index.html
index fbacdc68..fff37462 100644
--- a/dist/samples/3d-polygon-extruded-hole/dist/index.html
+++ b/dist/samples/3d-polygon-extruded-hole/dist/index.html
@@ -9,7 +9,7 @@
Map
-
+
diff --git a/dist/samples/3d-polygon-extruded-hole/docs/index.js b/dist/samples/3d-polygon-extruded-hole/docs/index.js
index 6e2dec1f..ea610fce 100644
--- a/dist/samples/3d-polygon-extruded-hole/docs/index.js
+++ b/dist/samples/3d-polygon-extruded-hole/docs/index.js
@@ -26,15 +26,13 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208, altitude: 200 },
{ lat: 40.6993, lng: -74.019, altitude: 200 },
- { lat: 40.7035, lng: -74.0004, altitude: 200 },
- { lat: 40.7144, lng: -74.0208, altitude: 200 }
+ { lat: 40.7035, lng: -74.0004, altitude: 200 }
];
examplePolygon.innerCoordinates = [
[
{ lat: 40.71, lng: -74.0175, altitude: 200 },
{ lat: 40.703, lng: -74.0165, altitude: 200 },
- { lat: 40.7035, lng: -74.006, altitude: 200 },
- { lat: 40.71, lng: -74.0175, altitude: 200 }
+ { lat: 40.7035, lng: -74.006, altitude: 200 }
]
];
map3DElement.append(examplePolygon);
diff --git a/dist/samples/3d-polygon-extruded-hole/docs/index.ts b/dist/samples/3d-polygon-extruded-hole/docs/index.ts
index f4fd8b59..1a11de44 100644
--- a/dist/samples/3d-polygon-extruded-hole/docs/index.ts
+++ b/dist/samples/3d-polygon-extruded-hole/docs/index.ts
@@ -30,16 +30,14 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208, altitude: 200 },
{ lat: 40.6993, lng: -74.019, altitude: 200 },
- { lat: 40.7035, lng: -74.0004, altitude: 200 },
- { lat: 40.7144, lng: -74.0208, altitude: 200 }
+ { lat: 40.7035, lng: -74.0004, altitude: 200 }
];
examplePolygon.innerCoordinates = [
[
{ lat: 40.71, lng: -74.0175, altitude: 200 },
{ lat: 40.703, lng: -74.0165, altitude: 200 },
- { lat: 40.7035, lng: -74.006, altitude: 200 },
- { lat: 40.71, lng: -74.0175, altitude: 200 }
+ { lat: 40.7035, lng: -74.006, altitude: 200 }
]
];
diff --git a/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js b/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js
index 6be39fba..d129e1cc 100644
--- a/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js
+++ b/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js
@@ -26,15 +26,13 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208, altitude: 200 },
{ lat: 40.6993, lng: -74.019, altitude: 200 },
- { lat: 40.7035, lng: -74.0004, altitude: 200 },
- { lat: 40.7144, lng: -74.0208, altitude: 200 }
+ { lat: 40.7035, lng: -74.0004, altitude: 200 }
];
examplePolygon.innerCoordinates = [
[
{ lat: 40.71, lng: -74.0175, altitude: 200 },
{ lat: 40.703, lng: -74.0165, altitude: 200 },
- { lat: 40.7035, lng: -74.006, altitude: 200 },
- { lat: 40.71, lng: -74.0175, altitude: 200 }
+ { lat: 40.7035, lng: -74.006, altitude: 200 }
]
];
map3DElement.append(examplePolygon);
diff --git a/dist/samples/3d-polygon/app/index.ts b/dist/samples/3d-polygon/app/index.ts
index 4bc0c6bd..1c1beb2e 100644
--- a/dist/samples/3d-polygon/app/index.ts
+++ b/dist/samples/3d-polygon/app/index.ts
@@ -28,8 +28,7 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208 },
{ lat: 40.6993, lng: -74.019 },
- { lat: 40.7035, lng: -74.0004 },
- { lat: 40.7144, lng: -74.0208 }
+ { lat: 40.7035, lng: -74.0004 }
];
map3DElement.append(examplePolygon);
diff --git a/dist/samples/3d-polygon/dist/assets/index-DqeIoknq.js b/dist/samples/3d-polygon/dist/assets/index-BCjXzGKQ.js
similarity index 90%
rename from dist/samples/3d-polygon/dist/assets/index-DqeIoknq.js
rename to dist/samples/3d-polygon/dist/assets/index-BCjXzGKQ.js
index 89d4610d..00d581ba 100644
--- a/dist/samples/3d-polygon/dist/assets/index-DqeIoknq.js
+++ b/dist/samples/3d-polygon/dist/assets/index-BCjXzGKQ.js
@@ -2,4 +2,4 @@
* @license
* Copyright 2025 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
-*/async function i(){const{Map3DElement:l,MapMode:o,Polygon3DElement:s}=await google.maps.importLibrary("maps3d"),r=new l({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:o.HYBRID}),e={strokeColor:"#0000ff80",strokeWidth:8,fillColor:"#ff000080",drawsOccludedSegments:!1},t=new google.maps.maps3d.Polygon3DElement(e);t.outerCoordinates=[{lat:40.7144,lng:-74.0208},{lat:40.6993,lng:-74.019},{lat:40.7035,lng:-74.0004},{lat:40.7144,lng:-74.0208}],r.append(t),document.body.append(r)}i();
+*/async function i(){const{Map3DElement:l,MapMode:o,Polygon3DElement:s}=await google.maps.importLibrary("maps3d"),r=new l({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:o.HYBRID}),e={strokeColor:"#0000ff80",strokeWidth:8,fillColor:"#ff000080",drawsOccludedSegments:!1},t=new google.maps.maps3d.Polygon3DElement(e);t.outerCoordinates=[{lat:40.7144,lng:-74.0208},{lat:40.6993,lng:-74.019},{lat:40.7035,lng:-74.0004}],r.append(t),document.body.append(r)}i();
diff --git a/dist/samples/3d-polygon/dist/index.html b/dist/samples/3d-polygon/dist/index.html
index 0d6a069a..594950f2 100644
--- a/dist/samples/3d-polygon/dist/index.html
+++ b/dist/samples/3d-polygon/dist/index.html
@@ -9,7 +9,7 @@
Map
-
+
diff --git a/dist/samples/3d-polygon/docs/index.js b/dist/samples/3d-polygon/docs/index.js
index afb3569c..b65a74fc 100644
--- a/dist/samples/3d-polygon/docs/index.js
+++ b/dist/samples/3d-polygon/docs/index.js
@@ -24,8 +24,7 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208 },
{ lat: 40.6993, lng: -74.019 },
- { lat: 40.7035, lng: -74.0004 },
- { lat: 40.7144, lng: -74.0208 }
+ { lat: 40.7035, lng: -74.0004 }
];
map3DElement.append(examplePolygon);
document.body.append(map3DElement);
diff --git a/dist/samples/3d-polygon/docs/index.ts b/dist/samples/3d-polygon/docs/index.ts
index 4bc0c6bd..1c1beb2e 100644
--- a/dist/samples/3d-polygon/docs/index.ts
+++ b/dist/samples/3d-polygon/docs/index.ts
@@ -28,8 +28,7 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208 },
{ lat: 40.6993, lng: -74.019 },
- { lat: 40.7035, lng: -74.0004 },
- { lat: 40.7144, lng: -74.0208 }
+ { lat: 40.7035, lng: -74.0004 }
];
map3DElement.append(examplePolygon);
diff --git a/dist/samples/3d-polygon/jsfiddle/demo.js b/dist/samples/3d-polygon/jsfiddle/demo.js
index 0bd8ea28..617eedff 100644
--- a/dist/samples/3d-polygon/jsfiddle/demo.js
+++ b/dist/samples/3d-polygon/jsfiddle/demo.js
@@ -24,8 +24,7 @@ async function init() {
examplePolygon.outerCoordinates = [
{ lat: 40.7144, lng: -74.0208 },
{ lat: 40.6993, lng: -74.019 },
- { lat: 40.7035, lng: -74.0004 },
- { lat: 40.7144, lng: -74.0208 }
+ { lat: 40.7035, lng: -74.0004 }
];
map3DElement.append(examplePolygon);
document.body.append(map3DElement);