diff --git a/example/googleMapsAerial.html b/example/googleMapsAerial.html index 90577ac9..fe9bfb6b 100644 --- a/example/googleMapsAerial.html +++ b/example/googleMapsAerial.html @@ -57,7 +57,7 @@
Example using Googles Photorealistic 3D Tiles - Tokyo Tower
- Google Cloud Tiles API key required + Google Cloud or Cesium Ion API key required
diff --git a/example/googleMapsExample.html b/example/googleMapsExample.html index 23ba05e3..aa267533 100644 --- a/example/googleMapsExample.html +++ b/example/googleMapsExample.html @@ -57,7 +57,7 @@
Example using Googles Photorealistic 3D Tiles - Globe
- Google Cloud Tiles API key required + Google Cloud or Cesium Ion API key required
diff --git a/example/r3f/atmosphere.html b/example/r3f/atmosphere.html index 5795f38e..b4314d56 100644 --- a/example/r3f/atmosphere.html +++ b/example/r3f/atmosphere.html @@ -35,7 +35,7 @@ Example using Google Photorealistic Tiles & @takram/three-geospatial atmosphere effects.
- Google Cloud API Token required. + Google Cloud or Cesium Ion API Token required.
diff --git a/example/r3f/globe.html b/example/r3f/globe.html index 3695fec6..7b0d37b9 100644 --- a/example/r3f/globe.html +++ b/example/r3f/globe.html @@ -34,7 +34,7 @@
Example using Google Photorealistic Tiles & @react-three/fiber.
- Google Cloud API Token required. + Google Cloud or Cesium Ion API Token required.
diff --git a/example/r3f/ion.html b/example/r3f/ion.html index 0c44e563..d081fe43 100644 --- a/example/r3f/ion.html +++ b/example/r3f/ion.html @@ -34,7 +34,7 @@
Example using Cesium Ion & @react-three/fiber.
- Paste the evaluation token from the Cesium repository or your own. + Paste your own Cesium Ion key to view other assets.
diff --git a/example/r3f/ion.jsx b/example/r3f/ion.jsx index cfcccba5..98e60849 100644 --- a/example/r3f/ion.jsx +++ b/example/r3f/ion.jsx @@ -18,26 +18,21 @@ const dracoLoader = new DRACOLoader().setDecoderPath( 'https://www.gstatic.com/d function App() { const levaParams = { - apiToken: { - value: localStorage.getItem( 'ion-token' ) || 'put-your-api-key-here', - onChange: ( value ) => localStorage.setItem( 'ion-token', value ), - transient: false, - }, assetId: { - value: '40866', + value: '1415196', options: { 'Aerometrex - San Francisco': '1415196', 'Aerometrex - Denver': '354307', 'New York City 3D Buildings': '75343', 'Melbourne Photogrammetry': '69380', - 'Cesium HQ': '40866', + // 'Cesium HQ': '40866', 'Melbourne Point Cloud': '43978', 'Montreal Point Cloud': '28945', }, }, }; - const { apiToken, assetId } = useControls( levaParams ); + const { assetId } = useControls( levaParams ); return ( - + +