Multiple maps: 3D landmarks of one kind

Four famous towers, cathedrals, stadiums or monuments in 3D, one per map, in a grid that fits any screen

View on GitHub
Landmarks 3D plugin 0.3.2Private previewSDK 1.0.0

Pick a kind of landmark and all four maps move to their next one, each seen in 3D from the side.

  • Each map has its own new Landmarks3D(map) for the models in its view, and shows its BaseMapModule’s buildings3D group around them.
  • The camera aims at the landmark’s mid-height through MapLibre’s elevation option and centerClampedToGround: false. A gesture first aims it back at the ground, which sets MapLibre’s tile detail.
  • A new kind reuses the same four maps, as a browser caps a page’s WebGL contexts, and a resize handler refits the zoom whenever the grid reflows.

Related examples