diff --git a/dist/samples/3d-camera-to-around/app/index.ts b/dist/samples/3d-camera-to-around/app/index.ts index af0ef996..1f1c610c 100644 --- a/dist/samples/3d-camera-to-around/app/index.ts +++ b/dist/samples/3d-camera-to-around/app/index.ts @@ -39,7 +39,7 @@ async function init() { // Length of time to fly to the location. durationMillis: 50000, // Number of rotations to make in the specified time. - rounds: 1 + repeatCount: 1 }); }, {once: true}); // Stop animation after flying around. diff --git a/dist/samples/3d-camera-to-around/dist/assets/index-CCfvJRed.js b/dist/samples/3d-camera-to-around/dist/assets/index-C5Deev1o.js similarity index 92% rename from dist/samples/3d-camera-to-around/dist/assets/index-CCfvJRed.js rename to dist/samples/3d-camera-to-around/dist/assets/index-C5Deev1o.js index 6550874a..f2d2278e 100644 --- a/dist/samples/3d-camera-to-around/dist/assets/index-CCfvJRed.js +++ b/dist/samples/3d-camera-to-around/dist/assets/index-C5Deev1o.js @@ -2,4 +2,4 @@ * @license * Copyright 2025 Google LLC. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 -*/async function s(){const{Map3DElement:a}=await google.maps.importLibrary("maps3d"),t=new a({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);const 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,rounds:1})},{once:!0}),t.addEventListener("gmp-click",o=>{t.stopCameraAnimation()})}s(); +*/async function s(){const{Map3DElement:a}=await google.maps.importLibrary("maps3d"),t=new a({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);const 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",o=>{t.stopCameraAnimation()})}s(); diff --git a/dist/samples/3d-camera-to-around/dist/index.html b/dist/samples/3d-camera-to-around/dist/index.html index d39241fd..f4edf35a 100644 --- a/dist/samples/3d-camera-to-around/dist/index.html +++ b/dist/samples/3d-camera-to-around/dist/index.html @@ -9,7 +9,7 @@ Map - + diff --git a/dist/samples/3d-camera-to-around/docs/index.js b/dist/samples/3d-camera-to-around/docs/index.js index 30eb3096..41f4ed3a 100644 --- a/dist/samples/3d-camera-to-around/docs/index.js +++ b/dist/samples/3d-camera-to-around/docs/index.js @@ -31,7 +31,7 @@ async function init() { // Length of time to fly to the location. durationMillis: 50000, // Number of rotations to make in the specified time. - rounds: 1 + repeatCount: 1 }); }, { once: true }); // Stop animation after flying around. // At any time stop the animation. diff --git a/dist/samples/3d-camera-to-around/docs/index.ts b/dist/samples/3d-camera-to-around/docs/index.ts index af0ef996..1f1c610c 100644 --- a/dist/samples/3d-camera-to-around/docs/index.ts +++ b/dist/samples/3d-camera-to-around/docs/index.ts @@ -39,7 +39,7 @@ async function init() { // Length of time to fly to the location. durationMillis: 50000, // Number of rotations to make in the specified time. - rounds: 1 + repeatCount: 1 }); }, {once: true}); // Stop animation after flying around. diff --git a/dist/samples/3d-camera-to-around/jsfiddle/demo.js b/dist/samples/3d-camera-to-around/jsfiddle/demo.js index 1f51efbc..a9e18ada 100644 --- a/dist/samples/3d-camera-to-around/jsfiddle/demo.js +++ b/dist/samples/3d-camera-to-around/jsfiddle/demo.js @@ -31,7 +31,7 @@ async function init() { // Length of time to fly to the location. durationMillis: 50000, // Number of rotations to make in the specified time. - rounds: 1 + repeatCount: 1 }); }, { once: true }); // Stop animation after flying around. // At any time stop the animation. diff --git a/dist/samples/3d-marker-click-event/app/index.ts b/dist/samples/3d-marker-click-event/app/index.ts index a089a25e..8ef0c66b 100644 --- a/dist/samples/3d-marker-click-event/app/index.ts +++ b/dist/samples/3d-marker-click-event/app/index.ts @@ -33,7 +33,7 @@ async function initMap() { map.flyCameraAround({ camera: originalCamera, durationMillis: 50000, - rounds: 1 + repeatCount: 1 }); }); diff --git a/dist/samples/3d-marker-click-event/dist/assets/index-Cg9EHWrZ.js b/dist/samples/3d-marker-click-event/dist/assets/index-owU-9bC9.js similarity index 91% rename from dist/samples/3d-marker-click-event/dist/assets/index-Cg9EHWrZ.js rename to dist/samples/3d-marker-click-event/dist/assets/index-owU-9bC9.js index f628b387..58dba5ab 100644 --- a/dist/samples/3d-marker-click-event/dist/assets/index-Cg9EHWrZ.js +++ b/dist/samples/3d-marker-click-event/dist/assets/index-owU-9bC9.js @@ -2,4 +2,4 @@ * @license * Copyright 2025 Google LLC. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 -*/async function s(){const{Map3DElement:a,Marker3DInteractiveElement:n}=await google.maps.importLibrary("maps3d"),o={center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0},r=new a({...o,mode:"SATELLITE"}),e=new n({position:{lat:39.1178,lng:-106.4452,altitude:100},altitudeMode:"RELATIVE_TO_MESH",extruded:!0,label:"Mount Elbert"});e.addEventListener("gmp-click",t=>{r.flyCameraAround({camera:o,durationMillis:5e4,rounds:1})}),r.append(e),document.body.append(r)}s(); +*/async function s(){const{Map3DElement:a,Marker3DInteractiveElement:n}=await google.maps.importLibrary("maps3d"),o={center:{lat:39.1178,lng:-106.4452,altitude:4395.4952},range:1500,tilt:74,heading:0},r=new a({...o,mode:"SATELLITE"}),e=new n({position:{lat:39.1178,lng:-106.4452,altitude:100},altitudeMode:"RELATIVE_TO_MESH",extruded:!0,label:"Mount Elbert"});e.addEventListener("gmp-click",t=>{r.flyCameraAround({camera:o,durationMillis:5e4,repeatCount:1})}),r.append(e),document.body.append(r)}s(); diff --git a/dist/samples/3d-marker-click-event/dist/index.html b/dist/samples/3d-marker-click-event/dist/index.html index 5b939f22..74a24945 100644 --- a/dist/samples/3d-marker-click-event/dist/index.html +++ b/dist/samples/3d-marker-click-event/dist/index.html @@ -9,7 +9,7 @@ Map - + diff --git a/dist/samples/3d-marker-click-event/docs/index.js b/dist/samples/3d-marker-click-event/docs/index.js index 32c3eebe..fa2673bd 100644 --- a/dist/samples/3d-marker-click-event/docs/index.js +++ b/dist/samples/3d-marker-click-event/docs/index.js @@ -29,7 +29,7 @@ async function initMap() { map.flyCameraAround({ camera: originalCamera, durationMillis: 50000, - rounds: 1 + repeatCount: 1 }); }); map.append(interactiveMarker); diff --git a/dist/samples/3d-marker-click-event/docs/index.ts b/dist/samples/3d-marker-click-event/docs/index.ts index a089a25e..8ef0c66b 100644 --- a/dist/samples/3d-marker-click-event/docs/index.ts +++ b/dist/samples/3d-marker-click-event/docs/index.ts @@ -33,7 +33,7 @@ async function initMap() { map.flyCameraAround({ camera: originalCamera, durationMillis: 50000, - rounds: 1 + repeatCount: 1 }); }); diff --git a/dist/samples/3d-marker-click-event/jsfiddle/demo.js b/dist/samples/3d-marker-click-event/jsfiddle/demo.js index 88492599..5e823765 100644 --- a/dist/samples/3d-marker-click-event/jsfiddle/demo.js +++ b/dist/samples/3d-marker-click-event/jsfiddle/demo.js @@ -29,7 +29,7 @@ async function initMap() { map.flyCameraAround({ camera: originalCamera, durationMillis: 50000, - rounds: 1 + repeatCount: 1 }); }); map.append(interactiveMarker); diff --git a/package-lock.json b/package-lock.json index 7a512488..dfe0ee47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5902,11 +5902,11 @@ "version": "1.0.0", "dependencies": { "@googlemaps/js-api-loader": "^2.0.0", - "terra-draw": "*", - "terra-draw-google-maps-adapter": "*" + "terra-draw": "latest", + "terra-draw-google-maps-adapter": "latest" }, "devDependencies": { - "@types/google.maps": "*", + "@types/google.maps": "latest", "typescript": "^5.9.2", "vite": "^7.1.7" } @@ -6042,7 +6042,7 @@ "name": "@js-api-samples/react-ui-kit-place-details-by-latlng-compact", "version": "1.0.0", "dependencies": { - "@vis.gl/react-google-maps": "*", + "@vis.gl/react-google-maps": "latest", "react": "^19.0.0", "react-dom": "^19.0.0" },