3D Tiles: Siemensstadt Square
The Siemensstadt showcase puts 3D building models on the map as 3D Tiles: the Schaltwerk high-rise from Berlin's official building model and two illustrative models of the new campus buildings. This page shows how to embed it and how to draw the same tiles on your own map.
Embed the showcase
The page follows the visitor's light or dark mode, keeps its view in the URL and switches to a light view on weak devices or when the visitor asks for less motion or less data. Add ?view=lite to always show the light view.
<iframe
src="https://maps.siemens-cdn.com/showcases/siemensstadt/"
title="Siemensstadt Square in 3D"
width="100%" height="600" style="border:0"
loading="lazy" allow="fullscreen"></iframe>
Draw the tiles on your own map
MapLibre draws no 3D Tiles itself; deck.gl's Tile3DLayer does, interleaved into the MapLibre map. The tileset URL comes from a small pointer file, so a new build never breaks a cached page. Textures are WebP, so no WASM decoder (Basis, Draco) is needed and the page works under a strict content security policy.
import { Map } from 'maplibre-gl';
import { MapboxOverlay } from '@deck.gl/mapbox';
import { Tile3DLayer } from '@deck.gl/geo-layers';
const HOST = 'https://maps.siemens-cdn.com';
const map = new Map({ container: 'map', style, center: [13.2604, 52.5386], zoom: 17, pitch: 60 });
const { landmarks } = await (await fetch(`${HOST}/data/siemensstadt-3d/current.json`)).json();
map.addControl(new MapboxOverlay({
interleaved: true, // one depth buffer: 3D Tiles and map buildings hide each other correctly
layers: [new Tile3DLayer({
id: 'landmarks',
data: HOST + landmarks,
// No worker scripts from a CDN: parse on the page itself.
loadOptions: { worker: false, tileset: { maximumMemoryUsage: 96 } },
})],
}));
What it costs a visitor
The landmark tiles are about 30 KB, the deck.gl code about 360 KB compressed, loaded only in the full 3D view. The light view loads neither and draws the buildings as simple blocks with MapLibre alone.
Sources and licences
- Schaltwerk high-rise: Geoportal Berlin, 3D-Gebäudemodelle LoD2, dl-de/zero-2.0.
- New high-rise and atrium building: illustrative models from published figures on the OpenStreetMap construction outline (ODbL). They are not the architects' designs.
- Berlin's 2025 photo mesh is not published yet: the Berlin 3D download portal is under maintenance and its current terms cannot be read.