earthatile
v1.0.0
Published
Engine-agnostic runtime for 3D Tiles geospatial datasets
Downloads
3
Maintainers
Readme
Earthatile - 3D Maps for your Apps 🌎
Earthatile is an engine-agnostic runtime for loading and navigating 3D Tiles geospatial datasets. Use it to create immersive 3D map experiences with Photorealistic 3D Tiles such as flight simulators, explainers, games and more.
Getting Started
Earthatile depends upon Google's Photorealistic 3D Tiles API. To access it, you need an API key. You can obtain a key by setting up a Google Cloud project with a billing account. You then need to enable the Map Tiles API. To learn more, see Setup in Cloud Console.
Node.js
If you want to run Earthatile in Node, you simply need to add it as a dependency in your package.json
:
npm install earthatile
PlayCanvas
Earthatile is supplied with an integration for PlayCanvas.
- Copy
dist/earthatile.js
to the Asset Panel in the Editor. - Copy
integrations/playcanvas/*.js
to the Asset Panel in the Editor. - Create an Entity and add a Script Component.
- Assign
tileRenderer
andgeolocation
scripts to the Script Component. - Add a Script Component to a Camera entity.
- Assign
flyCamera
script to the Script Component. - Launch the scene. 🚀
Alternatively, fork this project.