diff --git a/src/mapbox/mapbox.ts b/src/mapbox/mapbox.ts index 2243f141d..f2fd5ad3b 100644 --- a/src/mapbox/mapbox.ts +++ b/src/mapbox/mapbox.ts @@ -723,6 +723,9 @@ export default class Mapbox { if (!nextProps.terrain || map.getSource(nextProps.terrain.source)) { changed = true; map.setTerrain(nextProps.terrain); + // Copy changes to the transform + // @ts-ignore + this._renderTransform.elevation = map.transform.elevation; } } }