Documentation

OSM Buildings

Leaflet Layer

Mapbox GL

Data Tiles

Mapbox GL

Vector Tiles and 3D building style compatible with Mapbox GL.

Mapbox GL Documentation

Getting started


<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.1/mapbox-gl.css" rel="stylesheet"/>
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.1/mapbox-gl.js"></script>

<div id="map"></div>

<script>
var map = new mapboxgl.Map({
container: 'map',
style: 'https://data.osmbuildings.org/0.2/anonymous/style.json',
center: [13.40438, 52.51836],
zoom: 15,
bearing: 300,
pitch: 45,
attributionControl: true
});
</script>

Example