diff --git a/dist/samples/3d-accessibility-features/app/index.ts b/dist/samples/3d-accessibility-features/app/index.ts index 55c8cfa1a..56311d1af 100644 --- a/dist/samples/3d-accessibility-features/app/index.ts +++ b/dist/samples/3d-accessibility-features/app/index.ts @@ -20,7 +20,6 @@ async function init() { tilt: 67.44, heading: 0.01, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Set LatLng and title text for the markers. The first marker (Boynton Pass) diff --git a/dist/samples/3d-accessibility-features/dist/assets/index-CAWeQ9mC.js b/dist/samples/3d-accessibility-features/dist/assets/index-Brcdi0NO.js similarity index 54% rename from dist/samples/3d-accessibility-features/dist/assets/index-CAWeQ9mC.js rename to dist/samples/3d-accessibility-features/dist/assets/index-Brcdi0NO.js index 5b948f420..0f0039b91 100644 --- a/dist/samples/3d-accessibility-features/dist/assets/index-CAWeQ9mC.js +++ b/dist/samples/3d-accessibility-features/dist/assets/index-Brcdi0NO.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let[{Map3DElement:e,Marker3DInteractiveElement:t,PopoverElement:n},{PinElement:r}]=await Promise.all([google.maps.importLibrary(`maps3d`),google.maps.importLibrary(`marker`)]),i=new e({center:{lat:34.8405,lng:-111.7909,altitude:1322.7},range:13279.5,tilt:67.44,heading:.01,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`});[{position:{lat:34.8791806,lng:-111.8265049},title:`Boynton Pass`},{position:{lat:34.8559195,lng:-111.7988186},title:`Airport Mesa`},{position:{lat:34.832149,lng:-111.7695277},title:`Chapel of the Holy Cross`},{position:{lat:34.823736,lng:-111.8001857},title:`Red Rock Crossing`},{position:{lat:34.800326,lng:-111.7665047},title:`Bell Rock`}].forEach(({position:e,title:a},o)=>{let s=new r({glyphText:`${o+1}`,scale:1.5,glyphColor:`#FFFFFF`}),c=new n,l=`${o+1}. ${a}`,u=document.createElement(`span`);u.ariaLabel=`This is marker ${o+1}. ${a}`,u.slot=`header`,c.append(u),c.append(l);let d=new t({title:a,position:e,gmpPopoverTargetElement:c});d.append(s),i.append(d),i.append(c)}),document.body.append(i)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let[{Map3DElement:e,Marker3DInteractiveElement:t,PopoverElement:n},{PinElement:r}]=await Promise.all([google.maps.importLibrary(`maps3d`),google.maps.importLibrary(`marker`)]),i=new e({center:{lat:34.8405,lng:-111.7909,altitude:1322.7},range:13279.5,tilt:67.44,heading:.01,mode:`SATELLITE`});[{position:{lat:34.8791806,lng:-111.8265049},title:`Boynton Pass`},{position:{lat:34.8559195,lng:-111.7988186},title:`Airport Mesa`},{position:{lat:34.832149,lng:-111.7695277},title:`Chapel of the Holy Cross`},{position:{lat:34.823736,lng:-111.8001857},title:`Red Rock Crossing`},{position:{lat:34.800326,lng:-111.7665047},title:`Bell Rock`}].forEach(({position:e,title:a},o)=>{let s=new r({glyphText:`${o+1}`,scale:1.5,glyphColor:`#FFFFFF`}),c=new n,l=`${o+1}. ${a}`,u=document.createElement(`span`);u.ariaLabel=`This is marker ${o+1}. ${a}`,u.slot=`header`,c.append(u),c.append(l);let d=new t({title:a,position:e,gmpPopoverTargetElement:c});d.append(s),i.append(d),i.append(c)}),document.body.append(i)}e(); \ No newline at end of file diff --git a/dist/samples/3d-accessibility-features/dist/index.html b/dist/samples/3d-accessibility-features/dist/index.html index 079eb4049..ed4a76d24 100644 --- a/dist/samples/3d-accessibility-features/dist/index.html +++ b/dist/samples/3d-accessibility-features/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-accessibility-features/docs/index.js b/dist/samples/3d-accessibility-features/docs/index.js index 516f78576..d71649dfb 100644 --- a/dist/samples/3d-accessibility-features/docs/index.js +++ b/dist/samples/3d-accessibility-features/docs/index.js @@ -21,7 +21,6 @@ async function init() { tilt: 67.44, heading: 0.01, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Set LatLng and title text for the markers. The first marker (Boynton Pass) diff --git a/dist/samples/3d-accessibility-features/docs/index.ts b/dist/samples/3d-accessibility-features/docs/index.ts index 55c8cfa1a..56311d1af 100644 --- a/dist/samples/3d-accessibility-features/docs/index.ts +++ b/dist/samples/3d-accessibility-features/docs/index.ts @@ -20,7 +20,6 @@ async function init() { tilt: 67.44, heading: 0.01, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Set LatLng and title text for the markers. The first marker (Boynton Pass) diff --git a/dist/samples/3d-accessibility-features/jsfiddle/demo.js b/dist/samples/3d-accessibility-features/jsfiddle/demo.js index efe918322..fe0343155 100644 --- a/dist/samples/3d-accessibility-features/jsfiddle/demo.js +++ b/dist/samples/3d-accessibility-features/jsfiddle/demo.js @@ -20,7 +20,6 @@ async function init() { tilt: 67.44, heading: 0.01, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Set LatLng and title text for the markers. The first marker (Boynton Pass) diff --git a/dist/samples/3d-camera-boundary/app/index.ts b/dist/samples/3d-camera-boundary/app/index.ts index 6693e2695..cedd47479 100644 --- a/dist/samples/3d-camera-boundary/app/index.ts +++ b/dist/samples/3d-camera-boundary/app/index.ts @@ -13,7 +13,6 @@ async function init() { tilt: 67.5, mode: 'HYBRID', bounds: { south: -48.3, west: 163.56, north: -32.86, east: -180 }, - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-camera-boundary/dist/assets/index-B2ghvKJh.js b/dist/samples/3d-camera-boundary/dist/assets/index-B__ZA0bL.js similarity index 92% rename from dist/samples/3d-camera-boundary/dist/assets/index-B2ghvKJh.js rename to dist/samples/3d-camera-boundary/dist/assets/index-B__ZA0bL.js index 23d80be15..604c67354 100644 --- a/dist/samples/3d-camera-boundary/dist/assets/index-B2ghvKJh.js +++ b/dist/samples/3d-camera-boundary/dist/assets/index-B__ZA0bL.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:-36.86,lng:174.76,altitude:1e4},tilt:67.5,mode:`HYBRID`,bounds:{south:-48.3,west:163.56,north:-32.86,east:-180},gestureHandling:`COOPERATIVE`});document.body.append(t)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:-36.86,lng:174.76,altitude:1e4},tilt:67.5,mode:`HYBRID`,bounds:{south:-48.3,west:163.56,north:-32.86,east:-180}});document.body.append(t)}e(); \ No newline at end of file diff --git a/dist/samples/3d-camera-boundary/dist/index.html b/dist/samples/3d-camera-boundary/dist/index.html index dd73485a2..f60407ce8 100644 --- a/dist/samples/3d-camera-boundary/dist/index.html +++ b/dist/samples/3d-camera-boundary/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-camera-boundary/docs/index.js b/dist/samples/3d-camera-boundary/docs/index.js index 9a19ee189..a8e78bd8e 100644 --- a/dist/samples/3d-camera-boundary/docs/index.js +++ b/dist/samples/3d-camera-boundary/docs/index.js @@ -14,7 +14,6 @@ async function init() { tilt: 67.5, mode: 'HYBRID', bounds: { south: -48.3, west: 163.56, north: -32.86, east: -180 }, - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-camera-boundary/docs/index.ts b/dist/samples/3d-camera-boundary/docs/index.ts index 6693e2695..cedd47479 100644 --- a/dist/samples/3d-camera-boundary/docs/index.ts +++ b/dist/samples/3d-camera-boundary/docs/index.ts @@ -13,7 +13,6 @@ async function init() { tilt: 67.5, mode: 'HYBRID', bounds: { south: -48.3, west: 163.56, north: -32.86, east: -180 }, - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-camera-boundary/jsfiddle/demo.js b/dist/samples/3d-camera-boundary/jsfiddle/demo.js index 01166a0e4..b3b916962 100644 --- a/dist/samples/3d-camera-boundary/jsfiddle/demo.js +++ b/dist/samples/3d-camera-boundary/jsfiddle/demo.js @@ -13,7 +13,6 @@ async function init() { tilt: 67.5, mode: 'HYBRID', bounds: { south: -48.3, west: 163.56, north: -32.86, east: -180 }, - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-camera-to-around/app/index.ts b/dist/samples/3d-camera-to-around/app/index.ts index 57341ee76..3a8a0a558 100644 --- a/dist/samples/3d-camera-to-around/app/index.ts +++ b/dist/samples/3d-camera-to-around/app/index.ts @@ -17,7 +17,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-camera-to-around/dist/assets/index-BX8sIfCL.js b/dist/samples/3d-camera-to-around/dist/assets/index-YzukNEvF.js similarity index 63% rename from dist/samples/3d-camera-to-around/dist/assets/index-BX8sIfCL.js rename to dist/samples/3d-camera-to-around/dist/assets/index-YzukNEvF.js index 68eef852c..6682c4922 100644 --- a/dist/samples/3d-camera-to-around/dist/assets/index-BX8sIfCL.js +++ b/dist/samples/3d-camera-to-around/dist/assets/index-YzukNEvF.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:37.79810773998413,lng:-122.41784275049939,altitude:89.08476932205978},range:6062.016931506805,tilt:81.17100663963272,heading:-56.047035719765596,gestureHandling:`COOPERATIVE`});t.mode=`SATELLITE`,document.body.append(t);let n={center:{lat:21.263523536467105,lng:-157.80663691939296,altitude:80.28936069489404},range:1500.8202963253427,tilt:76.9173260789542,heading:-44.59196007522445};t.flyCameraTo({endCamera:n,durationMillis:3e4}),t.addEventListener(`gmp-animationend`,()=>{t.flyCameraAround({camera:n,durationMillis:5e4,repeatCount:1})},{once:!0}),t.addEventListener(`gmp-click`,()=>{t.stopCameraAnimation()})}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:37.79810773998413,lng:-122.41784275049939,altitude:89.08476932205978},range:6062.016931506805,tilt:81.17100663963272,heading:-56.047035719765596});t.mode=`SATELLITE`,document.body.append(t);let n={center:{lat:21.263523536467105,lng:-157.80663691939296,altitude:80.28936069489404},range:1500.8202963253427,tilt:76.9173260789542,heading:-44.59196007522445};t.flyCameraTo({endCamera:n,durationMillis:3e4}),t.addEventListener(`gmp-animationend`,()=>{t.flyCameraAround({camera:n,durationMillis:5e4,repeatCount:1})},{once:!0}),t.addEventListener(`gmp-click`,()=>{t.stopCameraAnimation()})}e(); \ No newline at end of file diff --git a/dist/samples/3d-camera-to-around/dist/index.html b/dist/samples/3d-camera-to-around/dist/index.html index 059afe58c..ff817e8d6 100644 --- a/dist/samples/3d-camera-to-around/dist/index.html +++ b/dist/samples/3d-camera-to-around/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-camera-to-around/docs/index.js b/dist/samples/3d-camera-to-around/docs/index.js index 8629236eb..eef655afd 100644 --- a/dist/samples/3d-camera-to-around/docs/index.js +++ b/dist/samples/3d-camera-to-around/docs/index.js @@ -18,7 +18,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-camera-to-around/docs/index.ts b/dist/samples/3d-camera-to-around/docs/index.ts index 57341ee76..3a8a0a558 100644 --- a/dist/samples/3d-camera-to-around/docs/index.ts +++ b/dist/samples/3d-camera-to-around/docs/index.ts @@ -17,7 +17,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-camera-to-around/jsfiddle/demo.js b/dist/samples/3d-camera-to-around/jsfiddle/demo.js index 53971a3a0..d6d4b3bc1 100644 --- a/dist/samples/3d-camera-to-around/jsfiddle/demo.js +++ b/dist/samples/3d-camera-to-around/jsfiddle/demo.js @@ -17,7 +17,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-clamp-mode/app/index.ts b/dist/samples/3d-clamp-mode/app/index.ts index dfc9ea12f..099c87015 100644 --- a/dist/samples/3d-clamp-mode/app/index.ts +++ b/dist/samples/3d-clamp-mode/app/index.ts @@ -21,7 +21,6 @@ async function init() { range: 4800, heading: 31, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); polyline = new Polyline3DElement({ diff --git a/dist/samples/3d-clamp-mode/dist/assets/index-C5Fq0aIV.js b/dist/samples/3d-clamp-mode/dist/assets/index-BXNW3SA3.js similarity index 53% rename from dist/samples/3d-clamp-mode/dist/assets/index-C5Fq0aIV.js rename to dist/samples/3d-clamp-mode/dist/assets/index-BXNW3SA3.js index 5110f9577..096cd43fc 100644 --- a/dist/samples/3d-clamp-mode/dist/assets/index-C5Fq0aIV.js +++ b/dist/samples/3d-clamp-mode/dist/assets/index-BXNW3SA3.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DElement:n}=await google.maps.importLibrary(`maps3d`),r=new t({center:{lat:47.660545553614604,lng:-122.4196302033452,altitude:100},tilt:61,range:4800,heading:31,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`});e=new n({path:[{lat:47.6589,lng:-122.43012,altitude:10},{lat:47.65598,lng:-122.425,altitude:10},{lat:47.65515,lng:-122.42219,altitude:10},{lat:47.65623,lng:-122.41895,altitude:10},{lat:47.65775,lng:-122.41426,altitude:10},{lat:47.6577,lng:-122.41089,altitude:10},{lat:47.66206,lng:-122.40507,altitude:10},{lat:47.6637,lng:-122.40547,altitude:10},{lat:47.66488,lng:-122.41075,altitude:10},{lat:47.6662,lng:-122.40877,altitude:10},{lat:47.67166,lng:-122.40812,altitude:10}],strokeColor:`red`,strokeWidth:5,altitudeMode:`CLAMP_TO_GROUND`,drawsOccludedSegments:!0}),r.append(e),document.body.append(r)}t();var n=document.getElementById(`selectElementId`);n.addEventListener(`change`,()=>{e&&n.value&&(e.altitudeMode=n.value)}); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DElement:n}=await google.maps.importLibrary(`maps3d`),r=new t({center:{lat:47.660545553614604,lng:-122.4196302033452,altitude:100},tilt:61,range:4800,heading:31,mode:`SATELLITE`});e=new n({path:[{lat:47.6589,lng:-122.43012,altitude:10},{lat:47.65598,lng:-122.425,altitude:10},{lat:47.65515,lng:-122.42219,altitude:10},{lat:47.65623,lng:-122.41895,altitude:10},{lat:47.65775,lng:-122.41426,altitude:10},{lat:47.6577,lng:-122.41089,altitude:10},{lat:47.66206,lng:-122.40507,altitude:10},{lat:47.6637,lng:-122.40547,altitude:10},{lat:47.66488,lng:-122.41075,altitude:10},{lat:47.6662,lng:-122.40877,altitude:10},{lat:47.67166,lng:-122.40812,altitude:10}],strokeColor:`red`,strokeWidth:5,altitudeMode:`CLAMP_TO_GROUND`,drawsOccludedSegments:!0}),r.append(e),document.body.append(r)}t();var n=document.getElementById(`selectElementId`);n.addEventListener(`change`,()=>{e&&n.value&&(e.altitudeMode=n.value)}); \ No newline at end of file diff --git a/dist/samples/3d-clamp-mode/dist/index.html b/dist/samples/3d-clamp-mode/dist/index.html index 1eed6a753..3068db676 100644 --- a/dist/samples/3d-clamp-mode/dist/index.html +++ b/dist/samples/3d-clamp-mode/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-clamp-mode/docs/index.js b/dist/samples/3d-clamp-mode/docs/index.js index 0f20ef068..f81d461f8 100644 --- a/dist/samples/3d-clamp-mode/docs/index.js +++ b/dist/samples/3d-clamp-mode/docs/index.js @@ -22,7 +22,6 @@ async function init() { range: 4800, heading: 31, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); polyline = new Polyline3DElement({ diff --git a/dist/samples/3d-clamp-mode/docs/index.ts b/dist/samples/3d-clamp-mode/docs/index.ts index dfc9ea12f..099c87015 100644 --- a/dist/samples/3d-clamp-mode/docs/index.ts +++ b/dist/samples/3d-clamp-mode/docs/index.ts @@ -21,7 +21,6 @@ async function init() { range: 4800, heading: 31, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); polyline = new Polyline3DElement({ diff --git a/dist/samples/3d-clamp-mode/jsfiddle/demo.js b/dist/samples/3d-clamp-mode/jsfiddle/demo.js index 9cd79200c..e9709d06e 100644 --- a/dist/samples/3d-clamp-mode/jsfiddle/demo.js +++ b/dist/samples/3d-clamp-mode/jsfiddle/demo.js @@ -21,7 +21,6 @@ async function init() { range: 4800, heading: 31, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); polyline = new Polyline3DElement({ diff --git a/dist/samples/3d-label-toggle/app/index.ts b/dist/samples/3d-label-toggle/app/index.ts index ca42dc892..9ae52788c 100644 --- a/dist/samples/3d-label-toggle/app/index.ts +++ b/dist/samples/3d-label-toggle/app/index.ts @@ -18,7 +18,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-label-toggle/dist/assets/index-D9pWrcCl.js b/dist/samples/3d-label-toggle/dist/assets/index-udn9LvHx.js similarity index 71% rename from dist/samples/3d-label-toggle/dist/assets/index-D9pWrcCl.js rename to dist/samples/3d-label-toggle/dist/assets/index-udn9LvHx.js index f9915cb95..36db025d4 100644 --- a/dist/samples/3d-label-toggle/dist/assets/index-D9pWrcCl.js +++ b/dist/samples/3d-label-toggle/dist/assets/index-udn9LvHx.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.79810773998413,lng:-122.41784275049939,altitude:89.08476932205978},range:6062.016931506805,tilt:81.17100663963272,heading:-56.047035719765596,gestureHandling:`COOPERATIVE`}),e.mode=`SATELLITE`,document.body.append(e);let n=document.getElementById(`toggleButton`);n.addEventListener(`click`,()=>{e.mode===`SATELLITE`?(e.mode=`HYBRID`,n.innerText=`Labels are on. (HYBRID)`):(e.mode=`SATELLITE`,n.innerText=`Labels are off. (SATELLITE)`)})}t(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.79810773998413,lng:-122.41784275049939,altitude:89.08476932205978},range:6062.016931506805,tilt:81.17100663963272,heading:-56.047035719765596}),e.mode=`SATELLITE`,document.body.append(e);let n=document.getElementById(`toggleButton`);n.addEventListener(`click`,()=>{e.mode===`SATELLITE`?(e.mode=`HYBRID`,n.innerText=`Labels are on. (HYBRID)`):(e.mode=`SATELLITE`,n.innerText=`Labels are off. (SATELLITE)`)})}t(); \ No newline at end of file diff --git a/dist/samples/3d-label-toggle/dist/index.html b/dist/samples/3d-label-toggle/dist/index.html index 1482aed37..250557815 100644 --- a/dist/samples/3d-label-toggle/dist/index.html +++ b/dist/samples/3d-label-toggle/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-label-toggle/docs/index.js b/dist/samples/3d-label-toggle/docs/index.js index 5218fb056..c52745e7a 100644 --- a/dist/samples/3d-label-toggle/docs/index.js +++ b/dist/samples/3d-label-toggle/docs/index.js @@ -19,7 +19,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-label-toggle/docs/index.ts b/dist/samples/3d-label-toggle/docs/index.ts index ca42dc892..9ae52788c 100644 --- a/dist/samples/3d-label-toggle/docs/index.ts +++ b/dist/samples/3d-label-toggle/docs/index.ts @@ -18,7 +18,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-label-toggle/jsfiddle/demo.js b/dist/samples/3d-label-toggle/jsfiddle/demo.js index 82cd6f540..6ad54998c 100644 --- a/dist/samples/3d-label-toggle/jsfiddle/demo.js +++ b/dist/samples/3d-label-toggle/jsfiddle/demo.js @@ -18,7 +18,6 @@ async function init() { range: 6062.016931506805, tilt: 81.17100663963272, heading: -56.047035719765596, - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-localization/app/index.ts b/dist/samples/3d-localization/app/index.ts index bf5a01a68..6ba7b24de 100644 --- a/dist/samples/3d-localization/app/index.ts +++ b/dist/samples/3d-localization/app/index.ts @@ -20,7 +20,6 @@ async function init() { language: 'ZH', region: 'CN', mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-localization/dist/assets/index-CA9AcD9f.js b/dist/samples/3d-localization/dist/assets/index-ELV-Rmj4.js similarity index 93% rename from dist/samples/3d-localization/dist/assets/index-CA9AcD9f.js rename to dist/samples/3d-localization/dist/assets/index-ELV-Rmj4.js index 89c4e1a2c..76310d303 100644 --- a/dist/samples/3d-localization/dist/assets/index-CA9AcD9f.js +++ b/dist/samples/3d-localization/dist/assets/index-ELV-Rmj4.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:49.75371685807847,lng:-123.13227141171181,altitude:30},tilt:50.64793990040634,heading:44.480020261589154,range:51618.36056532338,language:`ZH`,region:`CN`,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});document.body.append(t)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:49.75371685807847,lng:-123.13227141171181,altitude:30},tilt:50.64793990040634,heading:44.480020261589154,range:51618.36056532338,language:`ZH`,region:`CN`,mode:`HYBRID`});document.body.append(t)}e(); \ No newline at end of file diff --git a/dist/samples/3d-localization/dist/index.html b/dist/samples/3d-localization/dist/index.html index 3b1198da0..b46749e59 100644 --- a/dist/samples/3d-localization/dist/index.html +++ b/dist/samples/3d-localization/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-localization/docs/index.js b/dist/samples/3d-localization/docs/index.js index 982cb6239..486301cc3 100644 --- a/dist/samples/3d-localization/docs/index.js +++ b/dist/samples/3d-localization/docs/index.js @@ -21,7 +21,6 @@ async function init() { language: 'ZH', region: 'CN', mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-localization/docs/index.ts b/dist/samples/3d-localization/docs/index.ts index bf5a01a68..6ba7b24de 100644 --- a/dist/samples/3d-localization/docs/index.ts +++ b/dist/samples/3d-localization/docs/index.ts @@ -20,7 +20,6 @@ async function init() { language: 'ZH', region: 'CN', mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-localization/jsfiddle/demo.js b/dist/samples/3d-localization/jsfiddle/demo.js index 4ff1b6d57..8dfa2f7f7 100644 --- a/dist/samples/3d-localization/jsfiddle/demo.js +++ b/dist/samples/3d-localization/jsfiddle/demo.js @@ -20,7 +20,6 @@ async function init() { language: 'ZH', region: 'CN', mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-map-styling/app/index.ts b/dist/samples/3d-map-styling/app/index.ts index cc9ff1706..8a7162b5e 100644 --- a/dist/samples/3d-map-styling/app/index.ts +++ b/dist/samples/3d-map-styling/app/index.ts @@ -19,7 +19,6 @@ async function init() { range: 6605.57279990986, mapId: 'bcce776b92de1336e22c569f', // Styles are associated with map IDs. mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-map-styling/dist/assets/index-BNTjmP_i.js b/dist/samples/3d-map-styling/dist/assets/index-UL_m2Log.js similarity index 93% rename from dist/samples/3d-map-styling/dist/assets/index-BNTjmP_i.js rename to dist/samples/3d-map-styling/dist/assets/index-UL_m2Log.js index df3fd4a86..233eee4a0 100644 --- a/dist/samples/3d-map-styling/dist/assets/index-BNTjmP_i.js +++ b/dist/samples/3d-map-styling/dist/assets/index-UL_m2Log.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:37.75183154601466,lng:-119.52369070507672,altitude:2200},tilt:67.5,heading:108.94057782079429,range:6605.57279990986,mapId:`bcce776b92de1336e22c569f`,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});document.body.append(t)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:37.75183154601466,lng:-119.52369070507672,altitude:2200},tilt:67.5,heading:108.94057782079429,range:6605.57279990986,mapId:`bcce776b92de1336e22c569f`,mode:`HYBRID`});document.body.append(t)}e(); \ No newline at end of file diff --git a/dist/samples/3d-map-styling/dist/index.html b/dist/samples/3d-map-styling/dist/index.html index 646016183..d00389745 100644 --- a/dist/samples/3d-map-styling/dist/index.html +++ b/dist/samples/3d-map-styling/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-map-styling/docs/index.js b/dist/samples/3d-map-styling/docs/index.js index 6f17820f0..1ab829370 100644 --- a/dist/samples/3d-map-styling/docs/index.js +++ b/dist/samples/3d-map-styling/docs/index.js @@ -20,7 +20,6 @@ async function init() { range: 6605.57279990986, mapId: 'bcce776b92de1336e22c569f', // Styles are associated with map IDs. mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-map-styling/docs/index.ts b/dist/samples/3d-map-styling/docs/index.ts index cc9ff1706..8a7162b5e 100644 --- a/dist/samples/3d-map-styling/docs/index.ts +++ b/dist/samples/3d-map-styling/docs/index.ts @@ -19,7 +19,6 @@ async function init() { range: 6605.57279990986, mapId: 'bcce776b92de1336e22c569f', // Styles are associated with map IDs. mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-map-styling/jsfiddle/demo.js b/dist/samples/3d-map-styling/jsfiddle/demo.js index f25a5d5b1..8478435ad 100644 --- a/dist/samples/3d-map-styling/jsfiddle/demo.js +++ b/dist/samples/3d-map-styling/jsfiddle/demo.js @@ -19,7 +19,6 @@ async function init() { range: 6605.57279990986, mapId: 'bcce776b92de1336e22c569f', // Styles are associated with map IDs. mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-marker-click-event/app/index.ts b/dist/samples/3d-marker-click-event/app/index.ts index 7bcad5269..550d8dbe9 100644 --- a/dist/samples/3d-marker-click-event/app/index.ts +++ b/dist/samples/3d-marker-click-event/app/index.ts @@ -21,7 +21,6 @@ async function init() { const map = new Map3DElement({ ...originalCamera, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Create the interactive marker and set the attributes. diff --git a/dist/samples/3d-marker-click-event/dist/assets/index-BNr-KNwS.js b/dist/samples/3d-marker-click-event/dist/assets/index-Bq1okrwB.js similarity index 73% rename from dist/samples/3d-marker-click-event/dist/assets/index-BNr-KNwS.js rename to dist/samples/3d-marker-click-event/dist/assets/index-Bq1okrwB.js index 1fd0433e0..4b035da43 100644 --- a/dist/samples/3d-marker-click-event/dist/assets/index-BNr-KNwS.js +++ b/dist/samples/3d-marker-click-event/dist/assets/index-Bq1okrwB.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DInteractiveElement:t}=await google.maps.importLibrary(`maps3d`),n={center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0},r=new e({...n,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`}),i=new t({position:{lat:39.1178,lng:-106.4452,altitude:100},altitudeMode:`RELATIVE_TO_MESH`,extruded:!0,label:`Mount Elbert`});i.addEventListener(`gmp-click`,()=>{r.flyCameraAround({camera:n,durationMillis:5e4,repeatCount:1})}),r.append(i),document.body.append(r)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DInteractiveElement:t}=await google.maps.importLibrary(`maps3d`),n={center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0},r=new e({...n,mode:`SATELLITE`}),i=new t({position:{lat:39.1178,lng:-106.4452,altitude:100},altitudeMode:`RELATIVE_TO_MESH`,extruded:!0,label:`Mount Elbert`});i.addEventListener(`gmp-click`,()=>{r.flyCameraAround({camera:n,durationMillis:5e4,repeatCount:1})}),r.append(i),document.body.append(r)}e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-click-event/dist/index.html b/dist/samples/3d-marker-click-event/dist/index.html index dd4e04eee..749b01241 100644 --- a/dist/samples/3d-marker-click-event/dist/index.html +++ b/dist/samples/3d-marker-click-event/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-marker-click-event/docs/index.js b/dist/samples/3d-marker-click-event/docs/index.js index 7016ddbd6..4522248c7 100644 --- a/dist/samples/3d-marker-click-event/docs/index.js +++ b/dist/samples/3d-marker-click-event/docs/index.js @@ -22,7 +22,6 @@ async function init() { const map = new Map3DElement({ ...originalCamera, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Create the interactive marker and set the attributes. diff --git a/dist/samples/3d-marker-click-event/docs/index.ts b/dist/samples/3d-marker-click-event/docs/index.ts index 7bcad5269..550d8dbe9 100644 --- a/dist/samples/3d-marker-click-event/docs/index.ts +++ b/dist/samples/3d-marker-click-event/docs/index.ts @@ -21,7 +21,6 @@ async function init() { const map = new Map3DElement({ ...originalCamera, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Create the interactive marker and set the attributes. diff --git a/dist/samples/3d-marker-click-event/jsfiddle/demo.js b/dist/samples/3d-marker-click-event/jsfiddle/demo.js index 4ba4d26dc..38d90ab23 100644 --- a/dist/samples/3d-marker-click-event/jsfiddle/demo.js +++ b/dist/samples/3d-marker-click-event/jsfiddle/demo.js @@ -21,7 +21,6 @@ async function init() { const map = new Map3DElement({ ...originalCamera, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // Create the interactive marker and set the attributes. diff --git a/dist/samples/3d-marker-collision-behavior/app/index.ts b/dist/samples/3d-marker-collision-behavior/app/index.ts index d0646c157..ab5a164c2 100644 --- a/dist/samples/3d-marker-collision-behavior/app/index.ts +++ b/dist/samples/3d-marker-collision-behavior/app/index.ts @@ -16,7 +16,6 @@ async function init() { center: { lat: 47.6094, lng: -122.339, altitude: 0 }, range: 1000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); for (const [lng, lat] of positions) { diff --git a/dist/samples/3d-marker-collision-behavior/dist/assets/index-DdMMonGb.js b/dist/samples/3d-marker-collision-behavior/dist/assets/index-DIRanSRk.js similarity index 57% rename from dist/samples/3d-marker-collision-behavior/dist/assets/index-DdMMonGb.js rename to dist/samples/3d-marker-collision-behavior/dist/assets/index-DIRanSRk.js index 3f21e5490..29e084d99 100644 --- a/dist/samples/3d-marker-collision-behavior/dist/assets/index-DdMMonGb.js +++ b/dist/samples/3d-marker-collision-behavior/dist/assets/index-DIRanSRk.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=[];async function t(){let{Map3DElement:t,Marker3DElement:r}=await google.maps.importLibrary(`maps3d`),i=new t({center:{lat:47.6094,lng:-122.339,altitude:0},range:1e3,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});for(let[t,a]of n){let n=new r({position:{lat:a,lng:t},collisionBehavior:`REQUIRED`});e.push(n),i.append(n)}document.body.append(i)}var n=[[-122.3402,47.6093],[-122.3402,47.6094],[-122.3403,47.6094],[-122.3384,47.6098],[-122.3389,47.6095],[-122.3396,47.6095],[-122.3379,47.6097],[-122.3378,47.6097],[-122.3396,47.6091],[-122.3383,47.6089],[-122.3379,47.6093],[-122.3381,47.6095],[-122.3378,47.6095]];t();var r=document.getElementById(`selectElementId`);r.addEventListener(`change`,i);function i(){for(let t of e)t.collisionBehavior=r.value} \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=[];async function t(){let{Map3DElement:t,Marker3DElement:r}=await google.maps.importLibrary(`maps3d`),i=new t({center:{lat:47.6094,lng:-122.339,altitude:0},range:1e3,mode:`HYBRID`});for(let[t,a]of n){let n=new r({position:{lat:a,lng:t},collisionBehavior:`REQUIRED`});e.push(n),i.append(n)}document.body.append(i)}var n=[[-122.3402,47.6093],[-122.3402,47.6094],[-122.3403,47.6094],[-122.3384,47.6098],[-122.3389,47.6095],[-122.3396,47.6095],[-122.3379,47.6097],[-122.3378,47.6097],[-122.3396,47.6091],[-122.3383,47.6089],[-122.3379,47.6093],[-122.3381,47.6095],[-122.3378,47.6095]];t();var r=document.getElementById(`selectElementId`);r.addEventListener(`change`,i);function i(){for(let t of e)t.collisionBehavior=r.value} \ No newline at end of file diff --git a/dist/samples/3d-marker-collision-behavior/dist/index.html b/dist/samples/3d-marker-collision-behavior/dist/index.html index dab514047..6d95df012 100644 --- a/dist/samples/3d-marker-collision-behavior/dist/index.html +++ b/dist/samples/3d-marker-collision-behavior/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-marker-collision-behavior/docs/index.js b/dist/samples/3d-marker-collision-behavior/docs/index.js index 63fb4212c..f686ed672 100644 --- a/dist/samples/3d-marker-collision-behavior/docs/index.js +++ b/dist/samples/3d-marker-collision-behavior/docs/index.js @@ -17,7 +17,6 @@ async function init() { center: { lat: 47.6094, lng: -122.339, altitude: 0 }, range: 1000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); for (const [lng, lat] of positions) { diff --git a/dist/samples/3d-marker-collision-behavior/docs/index.ts b/dist/samples/3d-marker-collision-behavior/docs/index.ts index d0646c157..ab5a164c2 100644 --- a/dist/samples/3d-marker-collision-behavior/docs/index.ts +++ b/dist/samples/3d-marker-collision-behavior/docs/index.ts @@ -16,7 +16,6 @@ async function init() { center: { lat: 47.6094, lng: -122.339, altitude: 0 }, range: 1000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); for (const [lng, lat] of positions) { diff --git a/dist/samples/3d-marker-collision-behavior/jsfiddle/demo.js b/dist/samples/3d-marker-collision-behavior/jsfiddle/demo.js index 5b6bf9a6a..eadb20bc8 100644 --- a/dist/samples/3d-marker-collision-behavior/jsfiddle/demo.js +++ b/dist/samples/3d-marker-collision-behavior/jsfiddle/demo.js @@ -16,7 +16,6 @@ async function init() { center: { lat: 47.6094, lng: -122.339, altitude: 0 }, range: 1000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); for (const [lng, lat] of positions) { diff --git a/dist/samples/3d-marker-customization/app/index.ts b/dist/samples/3d-marker-customization/app/index.ts index 2dbbec290..5b656cae7 100644 --- a/dist/samples/3d-marker-customization/app/index.ts +++ b/dist/samples/3d-marker-customization/app/index.ts @@ -17,7 +17,6 @@ async function init() { tilt: 67.5, range: 7000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-customization/dist/assets/index-BgKHEMX0.js b/dist/samples/3d-marker-customization/dist/assets/index-BgKHEMX0.js new file mode 100644 index 000000000..6e0d46e79 --- /dev/null +++ b/dist/samples/3d-marker-customization/dist/assets/index-BgKHEMX0.js @@ -0,0 +1 @@ +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let[{Map3DElement:e,Marker3DElement:t},{PinElement:n}]=await Promise.all([google.maps.importLibrary(`maps3d`),google.maps.importLibrary(`marker`)]),r=new e({center:{lat:37.4176,lng:-122.02,altitude:0},tilt:67.5,range:7e3,mode:`HYBRID`});r.mode=`SATELLITE`;let i=new n({borderColor:`#FFFFFF`}),a=new t({position:{lat:37.415,lng:-122.035}});a.append(i);let o=new t({position:{lat:37.419,lng:-122.03},label:`Simple label`}),s=new n({scale:1.5}),c=new t({position:{lat:37.419,lng:-122.02}});c.append(s);let l=new n({glyphColor:`white`}),u=new t({position:{lat:37.415,lng:-122.025}});u.append(l);let d=new n({background:`#F0F6FC`,glyphText:`E`,glyphColor:`red`,borderColor:`#0000FF`}),f=new t({position:{lat:37.415,lng:-122.015,altitude:50},extruded:!0,altitudeMode:`RELATIVE_TO_GROUND`});f.append(d);let p=new t({position:{lat:37.4239163,lng:-122.0947209,altitude:100},altitudeMode:`RELATIVE_TO_GROUND`,extruded:!0}),m=new n({glyphText:``}),h=new t({position:{lat:37.415,lng:-122.005}});h.append(m);let g=new n({background:`#FBBC04`}),_=new t({position:{lat:37.419,lng:-122.01}});_.append(g),r.append(o),r.append(c),r.append(_),r.append(a),r.append(u),r.append(f),r.append(h),r.append(p),document.body.append(r)}e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-customization/dist/assets/index-DdOsP7L-.js b/dist/samples/3d-marker-customization/dist/assets/index-DdOsP7L-.js deleted file mode 100644 index 02449cbdd..000000000 --- a/dist/samples/3d-marker-customization/dist/assets/index-DdOsP7L-.js +++ /dev/null @@ -1 +0,0 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let[{Map3DElement:e,Marker3DElement:t},{PinElement:n}]=await Promise.all([google.maps.importLibrary(`maps3d`),google.maps.importLibrary(`marker`)]),r=new e({center:{lat:37.4176,lng:-122.02,altitude:0},tilt:67.5,range:7e3,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});r.mode=`SATELLITE`;let i=new n({borderColor:`#FFFFFF`}),a=new t({position:{lat:37.415,lng:-122.035}});a.append(i);let o=new t({position:{lat:37.419,lng:-122.03},label:`Simple label`}),s=new n({scale:1.5}),c=new t({position:{lat:37.419,lng:-122.02}});c.append(s);let l=new n({glyphColor:`white`}),u=new t({position:{lat:37.415,lng:-122.025}});u.append(l);let d=new n({background:`#F0F6FC`,glyphText:`E`,glyphColor:`red`,borderColor:`#0000FF`}),f=new t({position:{lat:37.415,lng:-122.015,altitude:50},extruded:!0,altitudeMode:`RELATIVE_TO_GROUND`});f.append(d);let p=new t({position:{lat:37.4239163,lng:-122.0947209,altitude:100},altitudeMode:`RELATIVE_TO_GROUND`,extruded:!0}),m=new n({glyphText:``}),h=new t({position:{lat:37.415,lng:-122.005}});h.append(m);let g=new n({background:`#FBBC04`}),_=new t({position:{lat:37.419,lng:-122.01}});_.append(g),r.append(o),r.append(c),r.append(_),r.append(a),r.append(u),r.append(f),r.append(h),r.append(p),document.body.append(r)}e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-customization/dist/index.html b/dist/samples/3d-marker-customization/dist/index.html index dd4e83e57..48bdcdcab 100644 --- a/dist/samples/3d-marker-customization/dist/index.html +++ b/dist/samples/3d-marker-customization/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-marker-customization/docs/index.js b/dist/samples/3d-marker-customization/docs/index.js index b046a16bf..a6f292bb7 100644 --- a/dist/samples/3d-marker-customization/docs/index.js +++ b/dist/samples/3d-marker-customization/docs/index.js @@ -18,7 +18,6 @@ async function init() { tilt: 67.5, range: 7000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-customization/docs/index.ts b/dist/samples/3d-marker-customization/docs/index.ts index 2dbbec290..5b656cae7 100644 --- a/dist/samples/3d-marker-customization/docs/index.ts +++ b/dist/samples/3d-marker-customization/docs/index.ts @@ -17,7 +17,6 @@ async function init() { tilt: 67.5, range: 7000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-customization/jsfiddle/demo.js b/dist/samples/3d-marker-customization/jsfiddle/demo.js index 7fc05c5ab..6195b4707 100644 --- a/dist/samples/3d-marker-customization/jsfiddle/demo.js +++ b/dist/samples/3d-marker-customization/jsfiddle/demo.js @@ -17,7 +17,6 @@ async function init() { tilt: 67.5, range: 7000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-graphics/app/index.ts b/dist/samples/3d-marker-graphics/app/index.ts index 4aba123d8..00fbea3df 100644 --- a/dist/samples/3d-marker-graphics/app/index.ts +++ b/dist/samples/3d-marker-graphics/app/index.ts @@ -18,7 +18,6 @@ async function init() { tilt: 67.5, range: 4000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // [START maps_3d_marker_graphics_png] diff --git a/dist/samples/3d-marker-graphics/dist/assets/index-CXL7_Hpw.js b/dist/samples/3d-marker-graphics/dist/assets/index-CXL7_Hpw.js new file mode 100644 index 000000000..b64292e73 --- /dev/null +++ b/dist/samples/3d-marker-graphics/dist/assets/index-CXL7_Hpw.js @@ -0,0 +1 @@ +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let[{Map3DElement:e,Marker3DElement:t},{PinElement:n},{Place:r}]=await Promise.all([google.maps.importLibrary(`maps3d`),google.maps.importLibrary(`marker`),google.maps.importLibrary(`places`)]),i=new e({center:{lat:37.426,lng:-122.082,altitude:18},tilt:67.5,range:4e3,mode:`SATELLITE`}),a=document.createElement(`img`);a.src=String(new URL(`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAgCAYAAAASYli2AAACcUlEQVR4AazUA6wsZwCA0TNYXte2bdu2bdu2bdtW1I1TK6jbZ1vX3r+aoH7YL9kdn/EkSFGHZjQgRYQYSfZLUUIjWrJfI8pI/KXdDz744CNbW1u/+PDDD+/FulgBS2OpI444Yo0vv/zy+MmTJz/R1dX1ccgaGBhonTBhwjuvvvrq0VgKTchFCFdffbVrTm0244tE3RaHtvfEuZ/iOK6madqYmzF+1eqY75k4RDJtpGpXu66pU3X++ouWW0/Dzkf5pju5Z/PNN38ck1IAg7NUh99q+APXNjRttP2GabGoOvYHubo6+V9/uXJZUlcHADo+r+iaMNaSFz6+CyrojQFggW2pW4Hu7z/T89OXZrf+/v4c5kdd7C8tcRxx0RwVQoiQQ/o3MCmx+ClzjiJC9DcQCoux8PFEc476RxDyizL/0USFGoGQW4SW04gXqhEIcZH6o0hWqxEIkN+ReLsaghCtkqG1AiFZleKuNQShsCYNO9cQhIZNqVuthiAsfDBJ6R/AIUOGjNW8D/ml/WPxsiS7E51FeiNN7zP/o5JFj7PwbiCgmv0EvHvVVVc9M3PmzOmh+9sQZj4RQuuzIfR8FcJgWxj2a88999xb559//h04AcfutNNO51cqlbfDwMzw6wf4U+yP1SDgDZyGE3beeefzLr/88ut/+x1//PGX4VgcjYOwIzbBBtgQW2IP7JXNXyxCwKt4D1PRhgEAQBW9aEcXBhEhj3rE6EBrCgjoxhRMQi8CAEKG9mdYFRFitCHCAAYiBLyMVzAE4zI8+HvhH+ZHyBwhBeBvdyuYvUL2A7EaN9fgL6OPgaMG/qemgX9huYBSgwHnr9+YKVsfRAAAAABJRU5ErkJggg==`,``+import.meta.url));let o=new t({position:{lat:37.434,lng:-122.082}}),s=document.createElement(`template`);s.content.append(a),o.append(s),i.append(o);let c=new URL(`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20enable-background='new%200%200%20192%20192'%20height='192'%20viewBox='0%200%20192%20192'%20width='192'%3e%3crect%20fill='none'%20height='192'%20width='192'/%3e%3cg%3e%3cg%3e%3cg%3e%3cpath%20d='M113.89,84.4l25.27-19.25l11.22-24.21c-7.47-14.26-20.37-25.24-35.88-30.11L91.18,26.58L77.95,54.29l0,0%20c4.3-5.21,10.75-8.49,18-8.49c13.02,0,23.43,10.53,23.43,23.43C119.37,75,117.29,80.32,113.89,84.4z'%20fill='%234285F4'/%3e%3cpath%20d='M95.94,8c-18.9,0-35.65,8.49-46.97,21.96l10.78,17.66l18.2,6.68c0.11-0.11,36.56-43.46,36.56-43.46%20C108.62,9.02,102.39,8,95.94,8z'%20fill='%231A73E8'/%3e%3cpath%20d='M113.89,84.4c-4.3,5.09-10.7,8.38-17.95,8.38c-13.02,0-23.43-10.53-23.43-23.43%20c0-5.55,2.26-11.09,5.43-15.05L51.09,73.5L40.71,98.66c6.45,14.03,17.09,25.35,28.07,39.5l28.78-22.9L113.89,84.4z'%20fill='%23FBBC04'/%3e%3cpath%20d='M157.4,69.35c0-10.3-2.6-19.92-7.02-28.41l-81.61,97.22c3.62,4.64,7.13,9.62,10.64,15.05%20C91.87,172.46,88.13,184,96.06,184c8.04,0,4.53-11.54,16.98-30.79C133.52,121.18,157.4,106.58,157.4,69.35z'%20fill='%2334A853'/%3e%3cpath%20d='M77.95,54.29L48.97,29.96C40.03,40.6,34.6,54.41,34.6,69.35c0,11.54,2.26,20.94,6.11,29.31L77.95,54.29z'%20fill='%23EA4335'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg/%3e%3cg/%3e%3cg/%3e%3c/svg%3e`,``+import.meta.url),l=new n({background:`white`,glyphSrc:new URL(c)}),u=new t({position:{lat:37.425,lng:-122.07,altitude:100},extruded:!0,altitudeMode:`ABSOLUTE`});u.append(l);try{i.append(u)}catch(e){console.error(e)}let d=new r({id:`ChIJN5Nz71W3j4ARhx5bwpTQEGg`});await d.fetchFields({fields:[`location`,`displayName`,`svgIconMaskURI`,`iconBackgroundColor`]});let f=new n({background:d.iconBackgroundColor,glyphSrc:new URL(String(d.svgIconMaskURI))}),p=new t({position:d.location?.toJSON()});p.append(f),i.append(p);let m=new DOMParser().parseFromString(``,`image/svg+xml`).documentElement,h=new t({position:{lat:37.425,lng:-122.094}}),g=document.createElement(`template`);g.content.append(m),h.append(g),i.append(h),document.body.append(i)}e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-graphics/dist/assets/index-CeyRHPiK.js b/dist/samples/3d-marker-graphics/dist/assets/index-CeyRHPiK.js deleted file mode 100644 index 3792ba4cd..000000000 --- a/dist/samples/3d-marker-graphics/dist/assets/index-CeyRHPiK.js +++ /dev/null @@ -1 +0,0 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let[{Map3DElement:e,Marker3DElement:t},{PinElement:n},{Place:r}]=await Promise.all([google.maps.importLibrary(`maps3d`),google.maps.importLibrary(`marker`),google.maps.importLibrary(`places`)]),i=new e({center:{lat:37.426,lng:-122.082,altitude:18},tilt:67.5,range:4e3,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`}),a=document.createElement(`img`);a.src=String(new URL(`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAgCAYAAAASYli2AAACcUlEQVR4AazUA6wsZwCA0TNYXte2bdu2bdu2bdtW1I1TK6jbZ1vX3r+aoH7YL9kdn/EkSFGHZjQgRYQYSfZLUUIjWrJfI8pI/KXdDz744CNbW1u/+PDDD+/FulgBS2OpI444Yo0vv/zy+MmTJz/R1dX1ccgaGBhonTBhwjuvvvrq0VgKTchFCFdffbVrTm0244tE3RaHtvfEuZ/iOK6madqYmzF+1eqY75k4RDJtpGpXu66pU3X++ouWW0/Dzkf5pju5Z/PNN38ck1IAg7NUh99q+APXNjRttP2GabGoOvYHubo6+V9/uXJZUlcHADo+r+iaMNaSFz6+CyrojQFggW2pW4Hu7z/T89OXZrf+/v4c5kdd7C8tcRxx0RwVQoiQQ/o3MCmx+ClzjiJC9DcQCoux8PFEc476RxDyizL/0USFGoGQW4SW04gXqhEIcZH6o0hWqxEIkN+ReLsaghCtkqG1AiFZleKuNQShsCYNO9cQhIZNqVuthiAsfDBJ6R/AIUOGjNW8D/ml/WPxsiS7E51FeiNN7zP/o5JFj7PwbiCgmv0EvHvVVVc9M3PmzOmh+9sQZj4RQuuzIfR8FcJgWxj2a88999xb559//h04AcfutNNO51cqlbfDwMzw6wf4U+yP1SDgDZyGE3beeefzLr/88ut/+x1//PGX4VgcjYOwIzbBBtgQW2IP7JXNXyxCwKt4D1PRhgEAQBW9aEcXBhEhj3rE6EBrCgjoxhRMQi8CAEKG9mdYFRFitCHCAAYiBLyMVzAE4zI8+HvhH+ZHyBwhBeBvdyuYvUL2A7EaN9fgL6OPgaMG/qemgX9huYBSgwHnr9+YKVsfRAAAAABJRU5ErkJggg==`,``+import.meta.url));let o=new t({position:{lat:37.434,lng:-122.082}}),s=document.createElement(`template`);s.content.append(a),o.append(s),i.append(o);let c=new URL(`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20enable-background='new%200%200%20192%20192'%20height='192'%20viewBox='0%200%20192%20192'%20width='192'%3e%3crect%20fill='none'%20height='192'%20width='192'/%3e%3cg%3e%3cg%3e%3cg%3e%3cpath%20d='M113.89,84.4l25.27-19.25l11.22-24.21c-7.47-14.26-20.37-25.24-35.88-30.11L91.18,26.58L77.95,54.29l0,0%20c4.3-5.21,10.75-8.49,18-8.49c13.02,0,23.43,10.53,23.43,23.43C119.37,75,117.29,80.32,113.89,84.4z'%20fill='%234285F4'/%3e%3cpath%20d='M95.94,8c-18.9,0-35.65,8.49-46.97,21.96l10.78,17.66l18.2,6.68c0.11-0.11,36.56-43.46,36.56-43.46%20C108.62,9.02,102.39,8,95.94,8z'%20fill='%231A73E8'/%3e%3cpath%20d='M113.89,84.4c-4.3,5.09-10.7,8.38-17.95,8.38c-13.02,0-23.43-10.53-23.43-23.43%20c0-5.55,2.26-11.09,5.43-15.05L51.09,73.5L40.71,98.66c6.45,14.03,17.09,25.35,28.07,39.5l28.78-22.9L113.89,84.4z'%20fill='%23FBBC04'/%3e%3cpath%20d='M157.4,69.35c0-10.3-2.6-19.92-7.02-28.41l-81.61,97.22c3.62,4.64,7.13,9.62,10.64,15.05%20C91.87,172.46,88.13,184,96.06,184c8.04,0,4.53-11.54,16.98-30.79C133.52,121.18,157.4,106.58,157.4,69.35z'%20fill='%2334A853'/%3e%3cpath%20d='M77.95,54.29L48.97,29.96C40.03,40.6,34.6,54.41,34.6,69.35c0,11.54,2.26,20.94,6.11,29.31L77.95,54.29z'%20fill='%23EA4335'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg/%3e%3cg/%3e%3cg/%3e%3c/svg%3e`,``+import.meta.url),l=new n({background:`white`,glyphSrc:new URL(c)}),u=new t({position:{lat:37.425,lng:-122.07,altitude:100},extruded:!0,altitudeMode:`ABSOLUTE`});u.append(l);try{i.append(u)}catch(e){console.error(e)}let d=new r({id:`ChIJN5Nz71W3j4ARhx5bwpTQEGg`});await d.fetchFields({fields:[`location`,`displayName`,`svgIconMaskURI`,`iconBackgroundColor`]});let f=new n({background:d.iconBackgroundColor,glyphSrc:new URL(String(d.svgIconMaskURI))}),p=new t({position:d.location?.toJSON()});p.append(f),i.append(p);let m=new DOMParser().parseFromString(``,`image/svg+xml`).documentElement,h=new t({position:{lat:37.425,lng:-122.094}}),g=document.createElement(`template`);g.content.append(m),h.append(g),i.append(h),document.body.append(i)}e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-graphics/dist/index.html b/dist/samples/3d-marker-graphics/dist/index.html index 3b2a2109d..b73f018a9 100644 --- a/dist/samples/3d-marker-graphics/dist/index.html +++ b/dist/samples/3d-marker-graphics/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-marker-graphics/docs/index.js b/dist/samples/3d-marker-graphics/docs/index.js index 29582ab61..ad7d02fd0 100644 --- a/dist/samples/3d-marker-graphics/docs/index.js +++ b/dist/samples/3d-marker-graphics/docs/index.js @@ -18,7 +18,6 @@ async function init() { tilt: 67.5, range: 4000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // [START maps_3d_marker_graphics_png] diff --git a/dist/samples/3d-marker-graphics/docs/index.ts b/dist/samples/3d-marker-graphics/docs/index.ts index 4aba123d8..00fbea3df 100644 --- a/dist/samples/3d-marker-graphics/docs/index.ts +++ b/dist/samples/3d-marker-graphics/docs/index.ts @@ -18,7 +18,6 @@ async function init() { tilt: 67.5, range: 4000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // [START maps_3d_marker_graphics_png] diff --git a/dist/samples/3d-marker-graphics/jsfiddle/demo.js b/dist/samples/3d-marker-graphics/jsfiddle/demo.js index b5c661dde..a3d46dc8e 100644 --- a/dist/samples/3d-marker-graphics/jsfiddle/demo.js +++ b/dist/samples/3d-marker-graphics/jsfiddle/demo.js @@ -17,7 +17,6 @@ async function init() { tilt: 67.5, range: 4000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); // A marker with a with a URL pointing to a PNG. diff --git a/dist/samples/3d-marker-interactive/app/index.ts b/dist/samples/3d-marker-interactive/app/index.ts index e5e096642..b53c71654 100644 --- a/dist/samples/3d-marker-interactive/app/index.ts +++ b/dist/samples/3d-marker-interactive/app/index.ts @@ -15,7 +15,6 @@ async function init() { tilt: 67.5, range: 45000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-interactive/dist/assets/index-BJUp7WkE.js b/dist/samples/3d-marker-interactive/dist/assets/index-BJUp7WkE.js deleted file mode 100644 index 7aab83832..000000000 --- a/dist/samples/3d-marker-interactive/dist/assets/index-BJUp7WkE.js +++ /dev/null @@ -1 +0,0 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DInteractiveElement:n,PopoverElement:r}=await google.maps.importLibrary(`maps3d`),i=new e({center:{lat:37.469,lng:-122.1074,altitude:0},tilt:67.5,range:45e3,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});i.mode=`SATELLITE`;for(let e of t){let t=new r({open:!0});t.append(e.name);let a=new n({position:e,gmpPopoverTargetElement:t});i.append(a),i.append(t)}document.body.append(i)}var t=[{lat:37.50981071450543,lng:-122.20280629839084,name:`Google Redwood City`},{lat:37.423897572754754,lng:-122.09167346506989,name:`Google West Campus`},{lat:37.42333982824077,lng:-122.06647571637265,name:`Google Bay View`},{lat:37.42193728115661,lng:-122.08531908774293,name:`Googleplex`},{lat:37.39982552146971,lng:-122.057934225745,name:`Google Quad Campus`},{lat:37.40317922575345,lng:-122.03276863941647,name:`Google Tech Corners`},{lat:37.41181058680138,lng:-121.9538960231151,name:`Google San Jose`},{lat:37.62759428242346,lng:-122.42615377188994,name:`Google San Bruno`},{lat:37.40369749797231,lng:-122.14812537955007,name:`Google Palo Alto`},{lat:37.793664664297964,lng:-122.39504580413139,name:`Google San Francisco`}];e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-interactive/dist/assets/index-DLCQC3xO.js b/dist/samples/3d-marker-interactive/dist/assets/index-DLCQC3xO.js new file mode 100644 index 000000000..1792c1908 --- /dev/null +++ b/dist/samples/3d-marker-interactive/dist/assets/index-DLCQC3xO.js @@ -0,0 +1 @@ +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DInteractiveElement:n,PopoverElement:r}=await google.maps.importLibrary(`maps3d`),i=new e({center:{lat:37.469,lng:-122.1074,altitude:0},tilt:67.5,range:45e3,mode:`HYBRID`});i.mode=`SATELLITE`;for(let e of t){let t=new r({open:!0});t.append(e.name);let a=new n({position:e,gmpPopoverTargetElement:t});i.append(a),i.append(t)}document.body.append(i)}var t=[{lat:37.50981071450543,lng:-122.20280629839084,name:`Google Redwood City`},{lat:37.423897572754754,lng:-122.09167346506989,name:`Google West Campus`},{lat:37.42333982824077,lng:-122.06647571637265,name:`Google Bay View`},{lat:37.42193728115661,lng:-122.08531908774293,name:`Googleplex`},{lat:37.39982552146971,lng:-122.057934225745,name:`Google Quad Campus`},{lat:37.40317922575345,lng:-122.03276863941647,name:`Google Tech Corners`},{lat:37.41181058680138,lng:-121.9538960231151,name:`Google San Jose`},{lat:37.62759428242346,lng:-122.42615377188994,name:`Google San Bruno`},{lat:37.40369749797231,lng:-122.14812537955007,name:`Google Palo Alto`},{lat:37.793664664297964,lng:-122.39504580413139,name:`Google San Francisco`}];e(); \ No newline at end of file diff --git a/dist/samples/3d-marker-interactive/dist/index.html b/dist/samples/3d-marker-interactive/dist/index.html index 03269b623..c7dddd967 100644 --- a/dist/samples/3d-marker-interactive/dist/index.html +++ b/dist/samples/3d-marker-interactive/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-marker-interactive/docs/index.js b/dist/samples/3d-marker-interactive/docs/index.js index cfe3a9915..0441bbc91 100644 --- a/dist/samples/3d-marker-interactive/docs/index.js +++ b/dist/samples/3d-marker-interactive/docs/index.js @@ -16,7 +16,6 @@ async function init() { tilt: 67.5, range: 45000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-interactive/docs/index.ts b/dist/samples/3d-marker-interactive/docs/index.ts index e5e096642..b53c71654 100644 --- a/dist/samples/3d-marker-interactive/docs/index.ts +++ b/dist/samples/3d-marker-interactive/docs/index.ts @@ -15,7 +15,6 @@ async function init() { tilt: 67.5, range: 45000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-marker-interactive/jsfiddle/demo.js b/dist/samples/3d-marker-interactive/jsfiddle/demo.js index d9ad321fd..a4f6bc887 100644 --- a/dist/samples/3d-marker-interactive/jsfiddle/demo.js +++ b/dist/samples/3d-marker-interactive/jsfiddle/demo.js @@ -15,7 +15,6 @@ async function init() { tilt: 67.5, range: 45000, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); map.mode = 'SATELLITE'; diff --git a/dist/samples/3d-model-interactive/app/index.ts b/dist/samples/3d-model-interactive/app/index.ts index 1ece3307a..2b6be4932 100644 --- a/dist/samples/3d-model-interactive/app/index.ts +++ b/dist/samples/3d-model-interactive/app/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DInteractiveElement({ diff --git a/dist/samples/3d-model-interactive/dist/assets/index-jU5ir5kz.js b/dist/samples/3d-model-interactive/dist/assets/index-CG8jo0hX.js similarity index 70% rename from dist/samples/3d-model-interactive/dist/assets/index-jU5ir5kz.js rename to dist/samples/3d-model-interactive/dist/assets/index-CG8jo0hX.js index 367127fc0..3b1d987d8 100644 --- a/dist/samples/3d-model-interactive/dist/assets/index-jU5ir5kz.js +++ b/dist/samples/3d-model-interactive/dist/assets/index-CG8jo0hX.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Model3DInteractiveElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),r=new t({src:`https://maps-docs-team.web.app/assets/windmill.glb`,position:{lat:39.1178,lng:-106.4452,altitude:4495.4952},orientation:{heading:0,tilt:270,roll:90},scale:.15,altitudeMode:`CLAMP_TO_GROUND`});r.addEventListener(`gmp-click`,function(){this.scale=Math.random()*.4+.1}),document.body.append(n),n.append(r)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Model3DInteractiveElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0,mode:`HYBRID`}),r=new t({src:`https://maps-docs-team.web.app/assets/windmill.glb`,position:{lat:39.1178,lng:-106.4452,altitude:4495.4952},orientation:{heading:0,tilt:270,roll:90},scale:.15,altitudeMode:`CLAMP_TO_GROUND`});r.addEventListener(`gmp-click`,function(){this.scale=Math.random()*.4+.1}),document.body.append(n),n.append(r)}e(); \ No newline at end of file diff --git a/dist/samples/3d-model-interactive/dist/index.html b/dist/samples/3d-model-interactive/dist/index.html index 1712fdd03..69653e860 100644 --- a/dist/samples/3d-model-interactive/dist/index.html +++ b/dist/samples/3d-model-interactive/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-model-interactive/docs/index.js b/dist/samples/3d-model-interactive/docs/index.js index b68ccc3e7..f08c6954b 100644 --- a/dist/samples/3d-model-interactive/docs/index.js +++ b/dist/samples/3d-model-interactive/docs/index.js @@ -17,7 +17,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DInteractiveElement({ diff --git a/dist/samples/3d-model-interactive/docs/index.ts b/dist/samples/3d-model-interactive/docs/index.ts index 1ece3307a..2b6be4932 100644 --- a/dist/samples/3d-model-interactive/docs/index.ts +++ b/dist/samples/3d-model-interactive/docs/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DInteractiveElement({ diff --git a/dist/samples/3d-model-interactive/jsfiddle/demo.js b/dist/samples/3d-model-interactive/jsfiddle/demo.js index 504049d17..e65dc9b78 100644 --- a/dist/samples/3d-model-interactive/jsfiddle/demo.js +++ b/dist/samples/3d-model-interactive/jsfiddle/demo.js @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DInteractiveElement({ diff --git a/dist/samples/3d-model/app/index.ts b/dist/samples/3d-model/app/index.ts index 5cd9d1ccd..3d4387cb9 100644 --- a/dist/samples/3d-model/app/index.ts +++ b/dist/samples/3d-model/app/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DElement({ diff --git a/dist/samples/3d-model/dist/assets/index-CMaaI_Zt.js b/dist/samples/3d-model/dist/assets/index-CJRwOeJ7.js similarity index 75% rename from dist/samples/3d-model/dist/assets/index-CMaaI_Zt.js rename to dist/samples/3d-model/dist/assets/index-CJRwOeJ7.js index e8aa842c2..47b50180d 100644 --- a/dist/samples/3d-model/dist/assets/index-CMaaI_Zt.js +++ b/dist/samples/3d-model/dist/assets/index-CJRwOeJ7.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Model3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),r=new t({src:`https://maps-docs-team.web.app/assets/windmill.glb`,position:{lat:39.1178,lng:-106.4452,altitude:4495.4952},orientation:{heading:0,tilt:270,roll:90},scale:.15,altitudeMode:`CLAMP_TO_GROUND`});document.body.append(n),n.append(r)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Model3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0,mode:`HYBRID`}),r=new t({src:`https://maps-docs-team.web.app/assets/windmill.glb`,position:{lat:39.1178,lng:-106.4452,altitude:4495.4952},orientation:{heading:0,tilt:270,roll:90},scale:.15,altitudeMode:`CLAMP_TO_GROUND`});document.body.append(n),n.append(r)}e(); \ No newline at end of file diff --git a/dist/samples/3d-model/dist/index.html b/dist/samples/3d-model/dist/index.html index 7d9f40e1b..e0b5c0e32 100644 --- a/dist/samples/3d-model/dist/index.html +++ b/dist/samples/3d-model/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-model/docs/index.js b/dist/samples/3d-model/docs/index.js index b83ebfb76..410cdc237 100644 --- a/dist/samples/3d-model/docs/index.js +++ b/dist/samples/3d-model/docs/index.js @@ -17,7 +17,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DElement({ diff --git a/dist/samples/3d-model/docs/index.ts b/dist/samples/3d-model/docs/index.ts index 5cd9d1ccd..3d4387cb9 100644 --- a/dist/samples/3d-model/docs/index.ts +++ b/dist/samples/3d-model/docs/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DElement({ diff --git a/dist/samples/3d-model/jsfiddle/demo.js b/dist/samples/3d-model/jsfiddle/demo.js index e0d46148b..f56964f3b 100644 --- a/dist/samples/3d-model/jsfiddle/demo.js +++ b/dist/samples/3d-model/jsfiddle/demo.js @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const model = new Model3DElement({ diff --git a/dist/samples/3d-places-autocomplete/app/index.ts b/dist/samples/3d-places-autocomplete/app/index.ts index 8512400c3..4bf5ff2bf 100644 --- a/dist/samples/3d-places-autocomplete/app/index.ts +++ b/dist/samples/3d-places-autocomplete/app/index.ts @@ -20,7 +20,6 @@ async function init() { heading: 0, roll: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-places-autocomplete/dist/assets/index-D-J-5Zgl.js b/dist/samples/3d-places-autocomplete/dist/assets/index-D-J-5Zgl.js deleted file mode 100644 index 104127657..000000000 --- a/dist/samples/3d-places-autocomplete/dist/assets/index-D-J-5Zgl.js +++ /dev/null @@ -1 +0,0 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:0,lng:0,altitude:16e6},tilt:0,range:0,heading:0,roll:0,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),document.body.append(e),n()}async function n(){let{PlaceAutocompleteElement:e}=await google.maps.importLibrary(`places`),t=new e;t.id=`place-autocomplete-input`,document.getElementById(`pac-container`).appendChild(t),t.addEventListener(`gmp-select`,async({placePrediction:e})=>{let t=e.toPlace();if(await t.fetchFields({fields:[`displayName`,`location`,`id`]}),!t.location){window.alert(`No viewport for input: `+t.displayName);return}r(t)})}var r=async t=>{let{Marker3DElement:n}=await google.maps.importLibrary(`maps3d`),r=t.location,a=await i(r,t),o=new n({position:{lat:r.lat(),lng:r.lng(),altitude:a+50},altitudeMode:`ABSOLUTE`,extruded:!0,label:t.displayName});e.append(o),e.flyCameraTo({endCamera:{center:{lat:r.lat(),lng:r.lng(),altitude:a+50},tilt:65,heading:0,range:1e3},durationMillis:1e4})};async function i(e,t){let{ElevationService:n}=await google.maps.importLibrary(`elevation`),r=await new n().getElevationForLocations({locations:[e]});return r?.results.length?r.results[0].elevation||10:(window.alert(`Insufficient elevation data for place: ${t.displayName}`),10)}t(); \ No newline at end of file diff --git a/dist/samples/3d-places-autocomplete/dist/assets/index-DIVB1p8c.js b/dist/samples/3d-places-autocomplete/dist/assets/index-DIVB1p8c.js new file mode 100644 index 000000000..a827c986a --- /dev/null +++ b/dist/samples/3d-places-autocomplete/dist/assets/index-DIVB1p8c.js @@ -0,0 +1 @@ +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:0,lng:0,altitude:16e6},tilt:0,range:0,heading:0,roll:0,mode:`HYBRID`}),document.body.append(e),n()}async function n(){let{PlaceAutocompleteElement:e}=await google.maps.importLibrary(`places`),t=new e;t.id=`place-autocomplete-input`,document.getElementById(`pac-container`).appendChild(t),t.addEventListener(`gmp-select`,async({placePrediction:e})=>{let t=e.toPlace();if(await t.fetchFields({fields:[`displayName`,`location`,`id`]}),!t.location){window.alert(`No viewport for input: `+t.displayName);return}r(t)})}var r=async t=>{let{Marker3DElement:n}=await google.maps.importLibrary(`maps3d`),r=t.location,a=await i(r,t),o=new n({position:{lat:r.lat(),lng:r.lng(),altitude:a+50},altitudeMode:`ABSOLUTE`,extruded:!0,label:t.displayName});e.append(o),e.flyCameraTo({endCamera:{center:{lat:r.lat(),lng:r.lng(),altitude:a+50},tilt:65,heading:0,range:1e3},durationMillis:1e4})};async function i(e,t){let{ElevationService:n}=await google.maps.importLibrary(`elevation`),r=await new n().getElevationForLocations({locations:[e]});return r?.results.length?r.results[0].elevation||10:(window.alert(`Insufficient elevation data for place: ${t.displayName}`),10)}t(); \ No newline at end of file diff --git a/dist/samples/3d-places-autocomplete/dist/index.html b/dist/samples/3d-places-autocomplete/dist/index.html index 2121d1769..45d22980e 100644 --- a/dist/samples/3d-places-autocomplete/dist/index.html +++ b/dist/samples/3d-places-autocomplete/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-places-autocomplete/docs/index.js b/dist/samples/3d-places-autocomplete/docs/index.js index 4a28c5f2a..eca67775c 100644 --- a/dist/samples/3d-places-autocomplete/docs/index.js +++ b/dist/samples/3d-places-autocomplete/docs/index.js @@ -18,7 +18,6 @@ async function init() { heading: 0, roll: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-places-autocomplete/docs/index.ts b/dist/samples/3d-places-autocomplete/docs/index.ts index 8512400c3..4bf5ff2bf 100644 --- a/dist/samples/3d-places-autocomplete/docs/index.ts +++ b/dist/samples/3d-places-autocomplete/docs/index.ts @@ -20,7 +20,6 @@ async function init() { heading: 0, roll: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-places-autocomplete/jsfiddle/demo.js b/dist/samples/3d-places-autocomplete/jsfiddle/demo.js index 81bf272d5..2e55b89d9 100644 --- a/dist/samples/3d-places-autocomplete/jsfiddle/demo.js +++ b/dist/samples/3d-places-autocomplete/jsfiddle/demo.js @@ -17,7 +17,6 @@ async function init() { heading: 0, roll: 0, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-places/app/index.ts b/dist/samples/3d-places/app/index.ts index 72db50a49..224466e6f 100644 --- a/dist/samples/3d-places/app/index.ts +++ b/dist/samples/3d-places/app/index.ts @@ -14,7 +14,6 @@ async function init() { tilt: 64, heading: -5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map3DElement); diff --git a/dist/samples/3d-places/dist/assets/index-BjAH4_dd.js b/dist/samples/3d-places/dist/assets/index-DRkVkqgi.js similarity index 56% rename from dist/samples/3d-places/dist/assets/index-BjAH4_dd.js rename to dist/samples/3d-places/dist/assets/index-DRkVkqgi.js index bd18ce449..29d3c38c2 100644 --- a/dist/samples/3d-places/dist/assets/index-BjAH4_dd.js +++ b/dist/samples/3d-places/dist/assets/index-DRkVkqgi.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:51.532,lng:-.124,altitude:30},range:1400,tilt:64,heading:-5,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),document.body.append(e),e.addEventListener(`gmp-click`,async e=>{e.preventDefault();let t=e;if(!t.placeId)return;let n=await t.fetchPlace();await n.fetchFields({fields:[`*`]}),document.getElementById(`placeName`).innerHTML=`Name :
 `+n.displayName,document.getElementById(`placeId`).innerHTML=`Id :
 `+n.id,document.getElementById(`placeType`).innerHTML=`Types :`;for(let e of n.types??[])document.getElementById(`placeType`).innerHTML+=`
 `+e;document.getElementById(`details`).style.display=`block`})}t(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:51.532,lng:-.124,altitude:30},range:1400,tilt:64,heading:-5,mode:`HYBRID`}),document.body.append(e),e.addEventListener(`gmp-click`,async e=>{e.preventDefault();let t=e;if(!t.placeId)return;let n=await t.fetchPlace();await n.fetchFields({fields:[`*`]}),document.getElementById(`placeName`).innerHTML=`Name :
 `+n.displayName,document.getElementById(`placeId`).innerHTML=`Id :
 `+n.id,document.getElementById(`placeType`).innerHTML=`Types :`;for(let e of n.types??[])document.getElementById(`placeType`).innerHTML+=`
 `+e;document.getElementById(`details`).style.display=`block`})}t(); \ No newline at end of file diff --git a/dist/samples/3d-places/dist/index.html b/dist/samples/3d-places/dist/index.html index 83992584e..436c1960b 100644 --- a/dist/samples/3d-places/dist/index.html +++ b/dist/samples/3d-places/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-places/docs/index.js b/dist/samples/3d-places/docs/index.js index 8d2d11b06..31a812fcf 100644 --- a/dist/samples/3d-places/docs/index.js +++ b/dist/samples/3d-places/docs/index.js @@ -15,7 +15,6 @@ async function init() { tilt: 64, heading: -5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map3DElement); diff --git a/dist/samples/3d-places/docs/index.ts b/dist/samples/3d-places/docs/index.ts index 72db50a49..224466e6f 100644 --- a/dist/samples/3d-places/docs/index.ts +++ b/dist/samples/3d-places/docs/index.ts @@ -14,7 +14,6 @@ async function init() { tilt: 64, heading: -5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map3DElement); diff --git a/dist/samples/3d-places/jsfiddle/demo.js b/dist/samples/3d-places/jsfiddle/demo.js index 4571cf35b..4f0fae7df 100644 --- a/dist/samples/3d-places/jsfiddle/demo.js +++ b/dist/samples/3d-places/jsfiddle/demo.js @@ -15,7 +15,6 @@ async function init() { tilt: 64, heading: -5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map3DElement); diff --git a/dist/samples/3d-polygon-click-event/app/index.ts b/dist/samples/3d-polygon-click-event/app/index.ts index cf3e584ef..27e7664c5 100644 --- a/dist/samples/3d-polygon-click-event/app/index.ts +++ b/dist/samples/3d-polygon-click-event/app/index.ts @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polygon-click-event/dist/assets/index-WLwVjEk_.js b/dist/samples/3d-polygon-click-event/dist/assets/index-BMNc_32e.js similarity index 55% rename from dist/samples/3d-polygon-click-event/dist/assets/index-WLwVjEk_.js rename to dist/samples/3d-polygon-click-event/dist/assets/index-BMNc_32e.js index 368fc1052..b32abec2b 100644 --- a/dist/samples/3d-polygon-click-event/dist/assets/index-WLwVjEk_.js +++ b/dist/samples/3d-polygon-click-event/dist/assets/index-BMNc_32e.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Polygon3DInteractiveElement:n}=await google.maps.importLibrary(`maps3d`),r=new e({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});document.body.append(r);let i=new n({strokeColor:`#0000ff80`,strokeWidth:8,fillColor:`#ff000080`,drawsOccludedSegments:!1});i.path=[{lat:40.7144,lng:-74.0208},{lat:40.6993,lng:-74.019},{lat:40.7035,lng:-74.0004},{lat:40.7144,lng:-74.0208}],i.addEventListener(`gmp-click`,function(e){this.fillColor=t(this.fillColor),this.strokeColor=t(this.strokeColor),console.log(e)}),r.append(i)}function t(e){console.log(e);let t=e.substring(7),n=Math.floor(Math.random()*256),r=Math.floor(Math.random()*256),i=Math.floor(Math.random()*256);return console.log(n+` `+r+` `+i),`#${(`0`+n.toString(16)).slice(-2)}${(`0`+r.toString(16)).slice(-2)}${(`0`+i.toString(16)).slice(-2)}${t}`}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Polygon3DInteractiveElement:n}=await google.maps.importLibrary(`maps3d`),r=new e({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:`HYBRID`});document.body.append(r);let i=new n({strokeColor:`#0000ff80`,strokeWidth:8,fillColor:`#ff000080`,drawsOccludedSegments:!1});i.path=[{lat:40.7144,lng:-74.0208},{lat:40.6993,lng:-74.019},{lat:40.7035,lng:-74.0004},{lat:40.7144,lng:-74.0208}],i.addEventListener(`gmp-click`,function(e){this.fillColor=t(this.fillColor),this.strokeColor=t(this.strokeColor),console.log(e)}),r.append(i)}function t(e){console.log(e);let t=e.substring(7),n=Math.floor(Math.random()*256),r=Math.floor(Math.random()*256),i=Math.floor(Math.random()*256);return console.log(n+` `+r+` `+i),`#${(`0`+n.toString(16)).slice(-2)}${(`0`+r.toString(16)).slice(-2)}${(`0`+i.toString(16)).slice(-2)}${t}`}e(); \ No newline at end of file diff --git a/dist/samples/3d-polygon-click-event/dist/index.html b/dist/samples/3d-polygon-click-event/dist/index.html index ed352200b..e45dc627d 100644 --- a/dist/samples/3d-polygon-click-event/dist/index.html +++ b/dist/samples/3d-polygon-click-event/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-polygon-click-event/docs/index.js b/dist/samples/3d-polygon-click-event/docs/index.js index e8d8a61c7..fa2a58b70 100644 --- a/dist/samples/3d-polygon-click-event/docs/index.js +++ b/dist/samples/3d-polygon-click-event/docs/index.js @@ -15,7 +15,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polygon-click-event/docs/index.ts b/dist/samples/3d-polygon-click-event/docs/index.ts index cf3e584ef..27e7664c5 100644 --- a/dist/samples/3d-polygon-click-event/docs/index.ts +++ b/dist/samples/3d-polygon-click-event/docs/index.ts @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polygon-click-event/jsfiddle/demo.js b/dist/samples/3d-polygon-click-event/jsfiddle/demo.js index f65acefe1..45e13ddce 100644 --- a/dist/samples/3d-polygon-click-event/jsfiddle/demo.js +++ b/dist/samples/3d-polygon-click-event/jsfiddle/demo.js @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polygon-extruded-hole/app/index.ts b/dist/samples/3d-polygon-extruded-hole/app/index.ts index 66cbfa6c9..94a3cd53d 100644 --- a/dist/samples/3d-polygon-extruded-hole/app/index.ts +++ b/dist/samples/3d-polygon-extruded-hole/app/index.ts @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions: google.maps.maps3d.Polygon3DElementOptions = { diff --git a/dist/samples/3d-polygon-extruded-hole/dist/assets/index-CTMWf3JY.js b/dist/samples/3d-polygon-extruded-hole/dist/assets/index-Cq3JQHsU.js similarity index 61% rename from dist/samples/3d-polygon-extruded-hole/dist/assets/index-CTMWf3JY.js rename to dist/samples/3d-polygon-extruded-hole/dist/assets/index-Cq3JQHsU.js index 7a8b212db..31ac4adda 100644 --- a/dist/samples/3d-polygon-extruded-hole/dist/assets/index-CTMWf3JY.js +++ b/dist/samples/3d-polygon-extruded-hole/dist/assets/index-Cq3JQHsU.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Polygon3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),r=new t({strokeColor:`#0000ff80`,strokeWidth:8,fillColor:`#ff000080`,drawsOccludedSegments:!1,extruded:!0,altitudeMode:`RELATIVE_TO_GROUND`});r.path=[{lat:40.7144,lng:-74.0208,altitude:200},{lat:40.6993,lng:-74.019,altitude:200},{lat:40.7035,lng:-74.0004,altitude:200}],r.innerPaths=[[{lat:40.71,lng:-74.0175,altitude:200},{lat:40.703,lng:-74.0165,altitude:200},{lat:40.7035,lng:-74.006,altitude:200}]],n.append(r),document.body.append(n)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Polygon3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:`HYBRID`}),r=new t({strokeColor:`#0000ff80`,strokeWidth:8,fillColor:`#ff000080`,drawsOccludedSegments:!1,extruded:!0,altitudeMode:`RELATIVE_TO_GROUND`});r.path=[{lat:40.7144,lng:-74.0208,altitude:200},{lat:40.6993,lng:-74.019,altitude:200},{lat:40.7035,lng:-74.0004,altitude:200}],r.innerPaths=[[{lat:40.71,lng:-74.0175,altitude:200},{lat:40.703,lng:-74.0165,altitude:200},{lat:40.7035,lng:-74.006,altitude:200}]],n.append(r),document.body.append(n)}e(); \ No newline at end of file diff --git a/dist/samples/3d-polygon-extruded-hole/dist/index.html b/dist/samples/3d-polygon-extruded-hole/dist/index.html index 7d0026764..96b6029ca 100644 --- a/dist/samples/3d-polygon-extruded-hole/dist/index.html +++ b/dist/samples/3d-polygon-extruded-hole/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-polygon-extruded-hole/docs/index.js b/dist/samples/3d-polygon-extruded-hole/docs/index.js index eb3ce4609..5edb1a225 100644 --- a/dist/samples/3d-polygon-extruded-hole/docs/index.js +++ b/dist/samples/3d-polygon-extruded-hole/docs/index.js @@ -15,7 +15,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions = { diff --git a/dist/samples/3d-polygon-extruded-hole/docs/index.ts b/dist/samples/3d-polygon-extruded-hole/docs/index.ts index 66cbfa6c9..94a3cd53d 100644 --- a/dist/samples/3d-polygon-extruded-hole/docs/index.ts +++ b/dist/samples/3d-polygon-extruded-hole/docs/index.ts @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions: google.maps.maps3d.Polygon3DElementOptions = { diff --git a/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js b/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js index 1ac871be6..2e3ba83e1 100644 --- a/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js +++ b/dist/samples/3d-polygon-extruded-hole/jsfiddle/demo.js @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions = { diff --git a/dist/samples/3d-polygon/app/index.ts b/dist/samples/3d-polygon/app/index.ts index a7be3a12e..142064a00 100644 --- a/dist/samples/3d-polygon/app/index.ts +++ b/dist/samples/3d-polygon/app/index.ts @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions = { diff --git a/dist/samples/3d-polygon/app/package.json b/dist/samples/3d-polygon/app/package.json index d72b41bef..389137f4f 100644 --- a/dist/samples/3d-polygon/app/package.json +++ b/dist/samples/3d-polygon/app/package.json @@ -9,6 +9,6 @@ "preview": "vite preview" }, "devDependencies": { - "@playwright/test": "^1.59.1" + "@playwright/test": "^1.60.0" } } diff --git a/dist/samples/3d-polygon/dist/assets/index-X2CDsCBJ.js b/dist/samples/3d-polygon/dist/assets/index-CULZ3QbL.js similarity index 72% rename from dist/samples/3d-polygon/dist/assets/index-X2CDsCBJ.js rename to dist/samples/3d-polygon/dist/assets/index-CULZ3QbL.js index 9108b74ac..6d50fa4d9 100644 --- a/dist/samples/3d-polygon/dist/assets/index-X2CDsCBJ.js +++ b/dist/samples/3d-polygon/dist/assets/index-CULZ3QbL.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Polygon3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),r=new t({strokeColor:`#0000ff80`,strokeWidth:8,fillColor:`#ff000080`,drawsOccludedSegments:!1});r.path=[{lat:40.7144,lng:-74.0208},{lat:40.6993,lng:-74.019},{lat:40.7035,lng:-74.0004}],n.append(r),document.body.append(n)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Polygon3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:40.6842,lng:-74.0019,altitude:1e3},heading:340,tilt:70,mode:`HYBRID`}),r=new t({strokeColor:`#0000ff80`,strokeWidth:8,fillColor:`#ff000080`,drawsOccludedSegments:!1});r.path=[{lat:40.7144,lng:-74.0208},{lat:40.6993,lng:-74.019},{lat:40.7035,lng:-74.0004}],n.append(r),document.body.append(n)}e(); \ No newline at end of file diff --git a/dist/samples/3d-polygon/dist/index.html b/dist/samples/3d-polygon/dist/index.html index 44e460756..8e2ebb609 100644 --- a/dist/samples/3d-polygon/dist/index.html +++ b/dist/samples/3d-polygon/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-polygon/docs/index.js b/dist/samples/3d-polygon/docs/index.js index 33c81bc0d..6b62d3a3a 100644 --- a/dist/samples/3d-polygon/docs/index.js +++ b/dist/samples/3d-polygon/docs/index.js @@ -15,7 +15,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions = { diff --git a/dist/samples/3d-polygon/docs/index.ts b/dist/samples/3d-polygon/docs/index.ts index a7be3a12e..142064a00 100644 --- a/dist/samples/3d-polygon/docs/index.ts +++ b/dist/samples/3d-polygon/docs/index.ts @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions = { diff --git a/dist/samples/3d-polygon/jsfiddle/demo.js b/dist/samples/3d-polygon/jsfiddle/demo.js index a7ab77c64..fe3570699 100644 --- a/dist/samples/3d-polygon/jsfiddle/demo.js +++ b/dist/samples/3d-polygon/jsfiddle/demo.js @@ -14,7 +14,6 @@ async function init() { heading: 340, tilt: 70, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const polygonOptions = { diff --git a/dist/samples/3d-polyline-click-event/app/index.ts b/dist/samples/3d-polyline-click-event/app/index.ts index 6c10881c3..3e1a41be3 100644 --- a/dist/samples/3d-polyline-click-event/app/index.ts +++ b/dist/samples/3d-polyline-click-event/app/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-click-event/dist/assets/index-DDtbdhQT.js b/dist/samples/3d-polyline-click-event/dist/assets/index-BM5RQU4N.js similarity index 50% rename from dist/samples/3d-polyline-click-event/dist/assets/index-DDtbdhQT.js rename to dist/samples/3d-polyline-click-event/dist/assets/index-BM5RQU4N.js index 021aa0644..08927b90a 100644 --- a/dist/samples/3d-polyline-click-event/dist/assets/index-DDtbdhQT.js +++ b/dist/samples/3d-polyline-click-event/dist/assets/index-BM5RQU4N.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DInteractiveElement:n}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.7927,lng:-122.402,altitude:65.93},range:3362.87,tilt:64.01,heading:25,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`}),document.body.append(e);let r=new n({coordinates:[{lat:37.80515638571346,lng:-122.4032569467164},{lat:37.80337073509504,lng:-122.4012878349353},{lat:37.79925208843463,lng:-122.3976697250461},{lat:37.7989102378512,lng:-122.3983408725656},{lat:37.79887832784348,lng:-122.3987094864192},{lat:37.79786443410338,lng:-122.4066878788802},{lat:37.79549248916587,lng:-122.4032992702785},{lat:37.78861484290265,lng:-122.4019489189814},{lat:37.78618687561075,lng:-122.398969592545},{lat:37.7892310309145,lng:-122.3951458683092},{lat:37.7916358762409,lng:-122.3981969390652}],strokeColor:`blue`,outerColor:`white`,strokeWidth:10,outerWidth:.4,altitudeMode:`RELATIVE_TO_GROUND`,drawsOccludedSegments:!0});r.addEventListener(`gmp-click`,function(){this.drawsOccludedSegments=!this.drawsOccludedSegments}),e.append(r)}t(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DInteractiveElement:n}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.7927,lng:-122.402,altitude:65.93},range:3362.87,tilt:64.01,heading:25,mode:`SATELLITE`}),document.body.append(e);let r=new n({coordinates:[{lat:37.80515638571346,lng:-122.4032569467164},{lat:37.80337073509504,lng:-122.4012878349353},{lat:37.79925208843463,lng:-122.3976697250461},{lat:37.7989102378512,lng:-122.3983408725656},{lat:37.79887832784348,lng:-122.3987094864192},{lat:37.79786443410338,lng:-122.4066878788802},{lat:37.79549248916587,lng:-122.4032992702785},{lat:37.78861484290265,lng:-122.4019489189814},{lat:37.78618687561075,lng:-122.398969592545},{lat:37.7892310309145,lng:-122.3951458683092},{lat:37.7916358762409,lng:-122.3981969390652}],strokeColor:`blue`,outerColor:`white`,strokeWidth:10,outerWidth:.4,altitudeMode:`RELATIVE_TO_GROUND`,drawsOccludedSegments:!0});r.addEventListener(`gmp-click`,function(){this.drawsOccludedSegments=!this.drawsOccludedSegments}),e.append(r)}t(); \ No newline at end of file diff --git a/dist/samples/3d-polyline-click-event/dist/index.html b/dist/samples/3d-polyline-click-event/dist/index.html index cf270b06e..c4b6c0e3e 100644 --- a/dist/samples/3d-polyline-click-event/dist/index.html +++ b/dist/samples/3d-polyline-click-event/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-polyline-click-event/docs/index.js b/dist/samples/3d-polyline-click-event/docs/index.js index a2e80854a..58de2d989 100644 --- a/dist/samples/3d-polyline-click-event/docs/index.js +++ b/dist/samples/3d-polyline-click-event/docs/index.js @@ -17,7 +17,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-click-event/docs/index.ts b/dist/samples/3d-polyline-click-event/docs/index.ts index 6c10881c3..3e1a41be3 100644 --- a/dist/samples/3d-polyline-click-event/docs/index.ts +++ b/dist/samples/3d-polyline-click-event/docs/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-click-event/jsfiddle/demo.js b/dist/samples/3d-polyline-click-event/jsfiddle/demo.js index 15982bdeb..bad3729a3 100644 --- a/dist/samples/3d-polyline-click-event/jsfiddle/demo.js +++ b/dist/samples/3d-polyline-click-event/jsfiddle/demo.js @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-extruded/app/index.ts b/dist/samples/3d-polyline-extruded/app/index.ts index ee24a29ef..44c42043e 100644 --- a/dist/samples/3d-polyline-extruded/app/index.ts +++ b/dist/samples/3d-polyline-extruded/app/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-extruded/dist/assets/index-Be8_22Te.js b/dist/samples/3d-polyline-extruded/dist/assets/index-BpdIsTKl.js similarity index 51% rename from dist/samples/3d-polyline-extruded/dist/assets/index-Be8_22Te.js rename to dist/samples/3d-polyline-extruded/dist/assets/index-BpdIsTKl.js index 75ce5b83c..e81643eaa 100644 --- a/dist/samples/3d-polyline-extruded/dist/assets/index-Be8_22Te.js +++ b/dist/samples/3d-polyline-extruded/dist/assets/index-BpdIsTKl.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DElement:n}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.7927,lng:-122.402,altitude:65.93},range:3362.87,tilt:64.01,heading:25,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`}),document.body.append(e);let r=new n({path:[{lat:37.80515638571346,lng:-122.4032569467164,altitude:100},{lat:37.80337073509504,lng:-122.4012878349353,altitude:100},{lat:37.79925208843463,lng:-122.3976697250461,altitude:100},{lat:37.7989102378512,lng:-122.3983408725656,altitude:100},{lat:37.79887832784348,lng:-122.3987094864192,altitude:100},{lat:37.79786443410338,lng:-122.4066878788802,altitude:100},{lat:37.79549248916587,lng:-122.4032992702785,altitude:100},{lat:37.78861484290265,lng:-122.4019489189814,altitude:100},{lat:37.78618687561075,lng:-122.398969592545,altitude:100},{lat:37.7892310309145,lng:-122.3951458683092,altitude:100},{lat:37.7916358762409,lng:-122.3981969390652,altitude:100}],strokeColor:`#0000FF80`,strokeWidth:10,altitudeMode:`RELATIVE_TO_GROUND`,extruded:!0});e.append(r)}t(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DElement:n}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.7927,lng:-122.402,altitude:65.93},range:3362.87,tilt:64.01,heading:25,mode:`SATELLITE`}),document.body.append(e);let r=new n({path:[{lat:37.80515638571346,lng:-122.4032569467164,altitude:100},{lat:37.80337073509504,lng:-122.4012878349353,altitude:100},{lat:37.79925208843463,lng:-122.3976697250461,altitude:100},{lat:37.7989102378512,lng:-122.3983408725656,altitude:100},{lat:37.79887832784348,lng:-122.3987094864192,altitude:100},{lat:37.79786443410338,lng:-122.4066878788802,altitude:100},{lat:37.79549248916587,lng:-122.4032992702785,altitude:100},{lat:37.78861484290265,lng:-122.4019489189814,altitude:100},{lat:37.78618687561075,lng:-122.398969592545,altitude:100},{lat:37.7892310309145,lng:-122.3951458683092,altitude:100},{lat:37.7916358762409,lng:-122.3981969390652,altitude:100}],strokeColor:`#0000FF80`,strokeWidth:10,altitudeMode:`RELATIVE_TO_GROUND`,extruded:!0});e.append(r)}t(); \ No newline at end of file diff --git a/dist/samples/3d-polyline-extruded/dist/index.html b/dist/samples/3d-polyline-extruded/dist/index.html index 3ab7d700a..cea72f609 100644 --- a/dist/samples/3d-polyline-extruded/dist/index.html +++ b/dist/samples/3d-polyline-extruded/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-polyline-extruded/docs/index.js b/dist/samples/3d-polyline-extruded/docs/index.js index c9e590a95..0fb2e124a 100644 --- a/dist/samples/3d-polyline-extruded/docs/index.js +++ b/dist/samples/3d-polyline-extruded/docs/index.js @@ -17,7 +17,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-extruded/docs/index.ts b/dist/samples/3d-polyline-extruded/docs/index.ts index ee24a29ef..44c42043e 100644 --- a/dist/samples/3d-polyline-extruded/docs/index.ts +++ b/dist/samples/3d-polyline-extruded/docs/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline-extruded/jsfiddle/demo.js b/dist/samples/3d-polyline-extruded/jsfiddle/demo.js index 81b502737..c184265b9 100644 --- a/dist/samples/3d-polyline-extruded/jsfiddle/demo.js +++ b/dist/samples/3d-polyline-extruded/jsfiddle/demo.js @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline/app/index.ts b/dist/samples/3d-polyline/app/index.ts index ec18f0d6e..acc2fe36f 100644 --- a/dist/samples/3d-polyline/app/index.ts +++ b/dist/samples/3d-polyline/app/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline/dist/assets/index-ZUmG0wKa.js b/dist/samples/3d-polyline/dist/assets/index-CDnBe__7.js similarity index 54% rename from dist/samples/3d-polyline/dist/assets/index-ZUmG0wKa.js rename to dist/samples/3d-polyline/dist/assets/index-CDnBe__7.js index c865aed1d..6fd3f8b74 100644 --- a/dist/samples/3d-polyline/dist/assets/index-ZUmG0wKa.js +++ b/dist/samples/3d-polyline/dist/assets/index-CDnBe__7.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DElement:n}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.7927,lng:-122.402,altitude:65.93},range:3362.87,tilt:64.01,heading:25,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`}),document.body.append(e);let r=new n({path:[{lat:37.80515638571346,lng:-122.4032569467164},{lat:37.80337073509504,lng:-122.4012878349353},{lat:37.79925208843463,lng:-122.3976697250461},{lat:37.7989102378512,lng:-122.3983408725656},{lat:37.79887832784348,lng:-122.3987094864192},{lat:37.79786443410338,lng:-122.4066878788802},{lat:37.79549248916587,lng:-122.4032992702785},{lat:37.78861484290265,lng:-122.4019489189814},{lat:37.78618687561075,lng:-122.398969592545},{lat:37.7892310309145,lng:-122.3951458683092},{lat:37.7916358762409,lng:-122.3981969390652}],strokeColor:`blue`,outerColor:`white`,strokeWidth:10,outerWidth:.4,altitudeMode:`RELATIVE_TO_GROUND`,drawsOccludedSegments:!0});e.append(r)}t(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e;async function t(){let{Map3DElement:t,Polyline3DElement:n}=await google.maps.importLibrary(`maps3d`);e=new t({center:{lat:37.7927,lng:-122.402,altitude:65.93},range:3362.87,tilt:64.01,heading:25,mode:`SATELLITE`}),document.body.append(e);let r=new n({path:[{lat:37.80515638571346,lng:-122.4032569467164},{lat:37.80337073509504,lng:-122.4012878349353},{lat:37.79925208843463,lng:-122.3976697250461},{lat:37.7989102378512,lng:-122.3983408725656},{lat:37.79887832784348,lng:-122.3987094864192},{lat:37.79786443410338,lng:-122.4066878788802},{lat:37.79549248916587,lng:-122.4032992702785},{lat:37.78861484290265,lng:-122.4019489189814},{lat:37.78618687561075,lng:-122.398969592545},{lat:37.7892310309145,lng:-122.3951458683092},{lat:37.7916358762409,lng:-122.3981969390652}],strokeColor:`blue`,outerColor:`white`,strokeWidth:10,outerWidth:.4,altitudeMode:`RELATIVE_TO_GROUND`,drawsOccludedSegments:!0});e.append(r)}t(); \ No newline at end of file diff --git a/dist/samples/3d-polyline/dist/index.html b/dist/samples/3d-polyline/dist/index.html index 4bfb986de..eba3a62e6 100644 --- a/dist/samples/3d-polyline/dist/index.html +++ b/dist/samples/3d-polyline/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-polyline/docs/index.js b/dist/samples/3d-polyline/docs/index.js index c5e2ce851..5024c9d9c 100644 --- a/dist/samples/3d-polyline/docs/index.js +++ b/dist/samples/3d-polyline/docs/index.js @@ -17,7 +17,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline/docs/index.ts b/dist/samples/3d-polyline/docs/index.ts index ec18f0d6e..acc2fe36f 100644 --- a/dist/samples/3d-polyline/docs/index.ts +++ b/dist/samples/3d-polyline/docs/index.ts @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-polyline/jsfiddle/demo.js b/dist/samples/3d-polyline/jsfiddle/demo.js index 3692e5b75..99e3934ef 100644 --- a/dist/samples/3d-polyline/jsfiddle/demo.js +++ b/dist/samples/3d-polyline/jsfiddle/demo.js @@ -16,7 +16,6 @@ async function init() { tilt: 64.01, heading: 25.0, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-popover-location/app/index.ts b/dist/samples/3d-popover-location/app/index.ts index d23f2fa61..752df21bd 100644 --- a/dist/samples/3d-popover-location/app/index.ts +++ b/dist/samples/3d-popover-location/app/index.ts @@ -15,7 +15,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const popover = new PopoverElement({ diff --git a/dist/samples/3d-popover-location/dist/assets/index-B_wJgsOb.js b/dist/samples/3d-popover-location/dist/assets/index-CRpjmfnN.js similarity index 81% rename from dist/samples/3d-popover-location/dist/assets/index-B_wJgsOb.js rename to dist/samples/3d-popover-location/dist/assets/index-CRpjmfnN.js index 51cc39d85..f207303de 100644 --- a/dist/samples/3d-popover-location/dist/assets/index-B_wJgsOb.js +++ b/dist/samples/3d-popover-location/dist/assets/index-CRpjmfnN.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,PopoverElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:37.8204,lng:-122.4783,altitude:.407},range:4e3,tilt:74,heading:38,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),r=new t({altitudeMode:`ABSOLUTE`,open:!0,positionAnchor:{lat:37.819852,lng:-122.478549,altitude:150}});r.append(`Golden Gate Bridge`),n.append(r),document.body.append(n)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,PopoverElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:37.8204,lng:-122.4783,altitude:.407},range:4e3,tilt:74,heading:38,mode:`HYBRID`}),r=new t({altitudeMode:`ABSOLUTE`,open:!0,positionAnchor:{lat:37.819852,lng:-122.478549,altitude:150}});r.append(`Golden Gate Bridge`),n.append(r),document.body.append(n)}e(); \ No newline at end of file diff --git a/dist/samples/3d-popover-location/dist/index.html b/dist/samples/3d-popover-location/dist/index.html index a9da9a019..dbd609cb3 100644 --- a/dist/samples/3d-popover-location/dist/index.html +++ b/dist/samples/3d-popover-location/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-popover-location/docs/index.js b/dist/samples/3d-popover-location/docs/index.js index 3e5a42e0d..85be14447 100644 --- a/dist/samples/3d-popover-location/docs/index.js +++ b/dist/samples/3d-popover-location/docs/index.js @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const popover = new PopoverElement({ diff --git a/dist/samples/3d-popover-location/docs/index.ts b/dist/samples/3d-popover-location/docs/index.ts index d23f2fa61..752df21bd 100644 --- a/dist/samples/3d-popover-location/docs/index.ts +++ b/dist/samples/3d-popover-location/docs/index.ts @@ -15,7 +15,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const popover = new PopoverElement({ diff --git a/dist/samples/3d-popover-location/jsfiddle/demo.js b/dist/samples/3d-popover-location/jsfiddle/demo.js index a134feef9..c605c0dcc 100644 --- a/dist/samples/3d-popover-location/jsfiddle/demo.js +++ b/dist/samples/3d-popover-location/jsfiddle/demo.js @@ -15,7 +15,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); const popover = new PopoverElement({ diff --git a/dist/samples/3d-popover-marker/app/index.ts b/dist/samples/3d-popover-marker/app/index.ts index 2210debae..d79387978 100644 --- a/dist/samples/3d-popover-marker/app/index.ts +++ b/dist/samples/3d-popover-marker/app/index.ts @@ -15,7 +15,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); // Popovers can only be added to interactive Markers diff --git a/dist/samples/3d-popover-marker/dist/assets/index-Bubh-iv9.js b/dist/samples/3d-popover-marker/dist/assets/index-0IpUFo7I.js similarity index 73% rename from dist/samples/3d-popover-marker/dist/assets/index-Bubh-iv9.js rename to dist/samples/3d-popover-marker/dist/assets/index-0IpUFo7I.js index 8e271c862..094564d47 100644 --- a/dist/samples/3d-popover-marker/dist/assets/index-Bubh-iv9.js +++ b/dist/samples/3d-popover-marker/dist/assets/index-0IpUFo7I.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DInteractiveElement:t,PopoverElement:n}=await google.maps.importLibrary(`maps3d`),r=new e({center:{lat:37.8204,lng:-122.4783,altitude:.407},range:4e3,tilt:74,heading:38,mode:`HYBRID`,gestureHandling:`COOPERATIVE`}),i=new t({altitudeMode:`ABSOLUTE`,position:{lat:37.819852,lng:-122.478549,altitude:100}}),a=new n({open:!1,positionAnchor:i});a.append(`Golden Gate Bridge`),i.addEventListener(`gmp-click`,()=>{a.open=!a.open}),r.append(i),r.append(a),document.body.append(r)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DInteractiveElement:t,PopoverElement:n}=await google.maps.importLibrary(`maps3d`),r=new e({center:{lat:37.8204,lng:-122.4783,altitude:.407},range:4e3,tilt:74,heading:38,mode:`HYBRID`}),i=new t({altitudeMode:`ABSOLUTE`,position:{lat:37.819852,lng:-122.478549,altitude:100}}),a=new n({open:!1,positionAnchor:i});a.append(`Golden Gate Bridge`),i.addEventListener(`gmp-click`,()=>{a.open=!a.open}),r.append(i),r.append(a),document.body.append(r)}e(); \ No newline at end of file diff --git a/dist/samples/3d-popover-marker/dist/index.html b/dist/samples/3d-popover-marker/dist/index.html index 86b1293c4..1d89d5484 100644 --- a/dist/samples/3d-popover-marker/dist/index.html +++ b/dist/samples/3d-popover-marker/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-popover-marker/docs/index.js b/dist/samples/3d-popover-marker/docs/index.js index 941bde22d..e5100dcdf 100644 --- a/dist/samples/3d-popover-marker/docs/index.js +++ b/dist/samples/3d-popover-marker/docs/index.js @@ -16,7 +16,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); // Popovers can only be added to interactive Markers diff --git a/dist/samples/3d-popover-marker/docs/index.ts b/dist/samples/3d-popover-marker/docs/index.ts index 2210debae..d79387978 100644 --- a/dist/samples/3d-popover-marker/docs/index.ts +++ b/dist/samples/3d-popover-marker/docs/index.ts @@ -15,7 +15,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); // Popovers can only be added to interactive Markers diff --git a/dist/samples/3d-popover-marker/jsfiddle/demo.js b/dist/samples/3d-popover-marker/jsfiddle/demo.js index 9e69478e2..e6c94562a 100644 --- a/dist/samples/3d-popover-marker/jsfiddle/demo.js +++ b/dist/samples/3d-popover-marker/jsfiddle/demo.js @@ -15,7 +15,6 @@ async function init() { tilt: 74, heading: 38, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); // Popovers can only be added to interactive Markers diff --git a/dist/samples/3d-simple-map/app/index.ts b/dist/samples/3d-simple-map/app/index.ts index d8de48ae7..9d930cf39 100644 --- a/dist/samples/3d-simple-map/app/index.ts +++ b/dist/samples/3d-simple-map/app/index.ts @@ -12,7 +12,6 @@ async function init() { center: { lat: 37.7704, lng: -122.3985, altitude: 500 }, tilt: 67.5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-simple-map/dist/assets/index-mzZITMdu.js b/dist/samples/3d-simple-map/dist/assets/index-DvIN1Kp-.js similarity index 90% rename from dist/samples/3d-simple-map/dist/assets/index-mzZITMdu.js rename to dist/samples/3d-simple-map/dist/assets/index-DvIN1Kp-.js index 08fb787da..18b0c497f 100644 --- a/dist/samples/3d-simple-map/dist/assets/index-mzZITMdu.js +++ b/dist/samples/3d-simple-map/dist/assets/index-DvIN1Kp-.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:37.7704,lng:-122.3985,altitude:500},tilt:67.5,mode:`HYBRID`,gestureHandling:`COOPERATIVE`});document.body.append(t)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e}=await google.maps.importLibrary(`maps3d`),t=new e({center:{lat:37.7704,lng:-122.3985,altitude:500},tilt:67.5,mode:`HYBRID`});document.body.append(t)}e(); \ No newline at end of file diff --git a/dist/samples/3d-simple-map/dist/index.html b/dist/samples/3d-simple-map/dist/index.html index 96b9121fd..4563fbcc7 100644 --- a/dist/samples/3d-simple-map/dist/index.html +++ b/dist/samples/3d-simple-map/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-simple-map/docs/index.js b/dist/samples/3d-simple-map/docs/index.js index 135ce936b..b040cc86c 100644 --- a/dist/samples/3d-simple-map/docs/index.js +++ b/dist/samples/3d-simple-map/docs/index.js @@ -13,7 +13,6 @@ async function init() { center: { lat: 37.7704, lng: -122.3985, altitude: 500 }, tilt: 67.5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-simple-map/docs/index.ts b/dist/samples/3d-simple-map/docs/index.ts index d8de48ae7..9d930cf39 100644 --- a/dist/samples/3d-simple-map/docs/index.ts +++ b/dist/samples/3d-simple-map/docs/index.ts @@ -12,7 +12,6 @@ async function init() { center: { lat: 37.7704, lng: -122.3985, altitude: 500 }, tilt: 67.5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-simple-map/jsfiddle/demo.js b/dist/samples/3d-simple-map/jsfiddle/demo.js index 20137b79a..13d9c4af1 100644 --- a/dist/samples/3d-simple-map/jsfiddle/demo.js +++ b/dist/samples/3d-simple-map/jsfiddle/demo.js @@ -12,7 +12,6 @@ async function init() { center: { lat: 37.7704, lng: -122.3985, altitude: 500 }, tilt: 67.5, mode: 'HYBRID', - gestureHandling: 'COOPERATIVE', }); document.body.append(map); diff --git a/dist/samples/3d-simple-marker/app/index.ts b/dist/samples/3d-simple-marker/app/index.ts index be072caa6..24b46d7a3 100644 --- a/dist/samples/3d-simple-marker/app/index.ts +++ b/dist/samples/3d-simple-marker/app/index.ts @@ -14,7 +14,6 @@ async function init() { tilt: 67.5, range: 1000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); const marker = new Marker3DElement({ diff --git a/dist/samples/3d-simple-marker/dist/assets/index-D1xKu1os.js b/dist/samples/3d-simple-marker/dist/assets/index-DsSMaVjf.js similarity index 76% rename from dist/samples/3d-simple-marker/dist/assets/index-D1xKu1os.js rename to dist/samples/3d-simple-marker/dist/assets/index-DsSMaVjf.js index dcb2e597b..9571c20bc 100644 --- a/dist/samples/3d-simple-marker/dist/assets/index-D1xKu1os.js +++ b/dist/samples/3d-simple-marker/dist/assets/index-DsSMaVjf.js @@ -1 +1 @@ -(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:37.4239163,lng:-122.0947209,altitude:0},tilt:67.5,range:1e3,mode:`SATELLITE`,gestureHandling:`COOPERATIVE`}),r=new t({position:{lat:37.4239163,lng:-122.0947209,altitude:50},altitudeMode:`ABSOLUTE`,extruded:!0,label:`Basic Marker`});n.append(r),document.body.append(n)}e(); \ No newline at end of file +(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let 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 n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();async function e(){let{Map3DElement:e,Marker3DElement:t}=await google.maps.importLibrary(`maps3d`),n=new e({center:{lat:37.4239163,lng:-122.0947209,altitude:0},tilt:67.5,range:1e3,mode:`SATELLITE`}),r=new t({position:{lat:37.4239163,lng:-122.0947209,altitude:50},altitudeMode:`ABSOLUTE`,extruded:!0,label:`Basic Marker`});n.append(r),document.body.append(n)}e(); \ No newline at end of file diff --git a/dist/samples/3d-simple-marker/dist/index.html b/dist/samples/3d-simple-marker/dist/index.html index 43a784ebc..9416a4ab8 100644 --- a/dist/samples/3d-simple-marker/dist/index.html +++ b/dist/samples/3d-simple-marker/dist/index.html @@ -15,7 +15,7 @@ key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8" }); - + diff --git a/dist/samples/3d-simple-marker/docs/index.js b/dist/samples/3d-simple-marker/docs/index.js index 4b8af7bbf..00419cc65 100644 --- a/dist/samples/3d-simple-marker/docs/index.js +++ b/dist/samples/3d-simple-marker/docs/index.js @@ -15,7 +15,6 @@ async function init() { tilt: 67.5, range: 1000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); const marker = new Marker3DElement({ diff --git a/dist/samples/3d-simple-marker/docs/index.ts b/dist/samples/3d-simple-marker/docs/index.ts index be072caa6..24b46d7a3 100644 --- a/dist/samples/3d-simple-marker/docs/index.ts +++ b/dist/samples/3d-simple-marker/docs/index.ts @@ -14,7 +14,6 @@ async function init() { tilt: 67.5, range: 1000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); const marker = new Marker3DElement({ diff --git a/dist/samples/3d-simple-marker/jsfiddle/demo.js b/dist/samples/3d-simple-marker/jsfiddle/demo.js index 4fc47bf9d..91dc64841 100644 --- a/dist/samples/3d-simple-marker/jsfiddle/demo.js +++ b/dist/samples/3d-simple-marker/jsfiddle/demo.js @@ -15,7 +15,6 @@ async function init() { tilt: 67.5, range: 1000, mode: 'SATELLITE', - gestureHandling: 'COOPERATIVE', }); const marker = new Marker3DElement({