Source: relief
| Type | Raster (raster) |
| Format | WebP, 256×256 px tiles |
| Data | Natural Earth Data (public domain, CC0) |
| Zoom levels | 0–4 |
| Coverage | Worldwide |
| Billing | 1 unit per tile |
TileJSON
https://api.mapriot.com/relief?apiKey=<key>Tile URL
https://api.mapriot.com/relief/{z}/{x}/{y}?apiKey=<key>Semi-transparent WebP relief rendering.
Zoom levels
In the outdoor style, relief renders at zoom 0–4 only. From approximately zoom 5, the hillshading source takes over to provide higher-resolution terrain visualization from DEM data.
Usage in MapLibre GL JS
Pre-configured in the outdoor style as relief. To add it to a custom style:
map.addSource('relief', {
type: 'raster',
url: 'https://api.mapriot.com/relief?apiKey=<key>',
tileSize: 256,
});
map.addLayer({
id: 'relief',
type: 'raster',
source: 'relief',
maxzoom: 4,
paint: {
'raster-opacity': 0.8,
},
});Notes
- Provides broad terrain shape at low zoom levels — like a painted relief map
- Data sourced from Natural Earth Data (public domain, CC0) — see Copyright and sources