How to display a 3D terrain layer in

This example shows how to create a 3D map in By utilizing MapTiler’s RGB terrain, you can enhance your maps by incorporating a realistic 3D terrain layer. Implementing the code provided below the map will allow you to achieve this effect.

Hold down the shift key to rotate the map

Replace YOUR_MAPTILER_API_KEY_HERE with your actual MapTiler API key.