I've implemented a terrain mapping feature on my MapBox map, but it is showing spikes when in production.
My code -
// 3D Terrain source
this.map.addSource('mapbox-dem', {
'type': 'raster-dem',
'url': 'mapbox://mapbox.mapbox-terrain-dem-v1',
'tileSize': 512,
});
// add the DEM source as a terrain layer with exaggerated height
this.map.setTerrain({
'source': 'mapbox-dem',
'exaggeration': 1
});
