iTranslated by AI
View the World in 3D via Browser! Trying Out Earthatile, a Library for Easy Google Map Tiles Integration
PlayCanvas developer Will Eastcott has released "Earthatile", a library that makes it easy to use Google Map tiles! Earthatile is an engine-agnostic runtime capable of loading 3D Tiles geospatial datasets and can be used with PlayCanvas or Node.js.

Tweets from the Developer (Will Eastcott)
Tweet the day before the release
Tweet on the release day
Running the Demo
Earthatile utilizes Google's Photorealistic 3D Tiles API, and an API key is required to use it. You can obtain an API key by setting up a Google Cloud project with a billing account. You will need to enable the Map Tiles API.
1. Enable Map Tiles API
Click Set up in the Google Cloud Console to access the console.

2. Click "Enable Map Tiles API"

Copy the API Key
The API key will be displayed, so copy it.

Click the Demo
To try the demo, click the Demo URL in the GitHub repository.

Enter API Key
The web page will be displayed, so enter the API key you copied earlier.

Move with WASD
Once you enter the API key, Google Map tiles will be displayed. You can move around using the WASD keys.
The initial location is overseas, but clicking the "Geolocate" button will move you to your current location.

Integration with PlayCanvas Scenes
About PlayCanvas
PlayCanvas is a platform for creating 3D content on the web. The game engine is released as open-source software and development is ongoing. If you use only the engine, it can be used in a manner similar to WebGL libraries like Three.js or Babylon.js. When using the PlayCanvas Editor, it provides features like collaborative editing and a code editor, allowing you to handle everything from project creation to publishing entirely in the cloud.
1. Create a PlayCanvas Project
In PlayCanvas, you can copy projects by "forking" them.
This time, we will access the "fork this project" page and create a project based on it.
*If you are not logged into PlayCanvas, please register and log in.

2. Click the FORK button

3. Enter Project Name
Enter a project name and fork it.

4. Open the Editor

5. Launch the Project
Since this scene is dynamically generated, there is no specific mesh data in the hierarchy. Open this project by clicking "Launch".

6. Check the Project
Google Map tiles will be displayed just like in the previous demo.

6. Add Post-Effects (Sepia)
This time, we will add the Sepia post-effect, which is included in the demo project from the start.
Selecting "Camera" from the Hierarchy on the left will display the Inspector on the right. Click "Sepia" under the SCRIPT section to add the post-effect.

7. Check the Project
You have now successfully applied the sepia post-effect.

Even with just the features in the sample project, you can easily change settings like the speed from the "Fly Camera" configuration.
It can be used with Node.js or PlayCanvas, making it easy to use Google Map tiles.
Since Google Map tiles can be used in real-time, there seem to be many potential applications.
Discussion