3D terrain map

Render the map surface in 3D using terrain elevation data

View on GitHub
Landmarks 3D plugin 0.3.2Private previewSDK 1.0.0

Ljubljana Castle crowns its hill above the old town and the river, and the castle and the buildings below stand on the slopes rather than floating above them.

  • TerrainModule.get raises the surface and shades it in one call, adding the elevation source to the style when it lacks one.
  • BaseMapModule.setVisible turns on the style’s own 3D buildings, which follow the terrain with no extra work.
  • new Landmarks3D(map) lowers each landmark onto the terrain under its footprint, and shades it like the buildings around it.

Related examples