Skip to content
Switch branches/tags

Our project name was seized by a multimillion dollar organization for profit.

Read more:

OSM Buildings

OSM Buildings is a library for visualizing 3d building geometry.

Quick integration

Link all required libraries in your HTML head section. Files are provided in folder /dist.

  <link href="" rel="stylesheet">
  <script src=""></script>

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

In a script section initialize OSM Buildings and add it to a DOM container.

  var osmb = new OSMBuildings({
    container: 'map',
    position: { latitude: 52.52000, longitude: 13.41000 },
    zoom: 16,
    minZoom: 15,
    maxZoom: 22

      attribution: '© Data <a href="">OpenStreetMap</a> · © Map <a href="">Mapbox</a>'


OSM Buildings server

There is also documentation of OSM Buildings Server side. See