GeoDataViewer
Menu
Launch Studio
Theme

DEM & Elevation Data

MapTiler Terrain Tiles

MapTiler Terrain Tiles are the easiest way to add 3D terrain to a MapLibre map because they provide a ready-to-use raster-dem endpoint with Terrarium encoding and a generous free tier.

Format Raster-dem tiles (Terrarium)
Coverage Global
Resolution Up to zoom 12 (~38m at equator)
License Free tier (100K loads/mo); paid plans available
Update Continuous CDN delivery

Format

Raster-dem tiles (Terrarium)

Geometry

Raster DEM tiles

Coverage

Global

Resolution

Up to zoom 12 (~38m at equator)

About this dataset

Cloud-hosted Terrarium-encoded terrain raster tiles ready for MapLibre GL JS terrain rendering with free tier and global coverage.

MapTiler provides globally available Terrarium-encoded raster-dem tiles optimized for MapLibre GL JS 3D terrain rendering. The free tier includes up to 100,000 tile loads per month, with paid plans for higher volume. Tiles are served via CDN and support standard z/x/y URL format with global coverage from zoom 0 to 12.

MapLibre 3D terrain Web map hillshade Terrain-aware routing visualization

How to download

  1. 1 Sign up for a free MapTiler account and get your API key from the dashboard.
  2. 2 In MapLibre, add a raster-dem source with URL https://api.maptiler.com/tiles/terrain-rgb/{z}/{x}/{y}.png?key=YOUR_KEY and encoding 'terrarium'.
  3. 3 Enable terrain: { source: 'your-source-id', exaggeration: 1.5 } in your MapLibre map style.
  4. 4 Test locally, then monitor tile usage in the MapTiler Cloud dashboard.

FAQ

What encoding do MapTiler terrain tiles use?

MapTiler terrain tiles use Terrarium encoding, which is the recommended encoding for MapLibre GL JS raster-dem sources. Set encoding: 'terrarium' in your source definition.

Is MapTiler terrain free?

MapTiler offers a free tier with up to 100,000 tile loads per month. Paid plans start for higher-volume applications. No credit card is required for the free tier.

What zoom levels are available?

MapTiler terrain tiles are available from zoom 0 through zoom 12, which corresponds to approximately 38-meter resolution at the equator.