Skip to content
3d building geometry viewer based on OpenStreetMap data
Branch: master
Clone or download
Latest commit d6ceec4 Aug 7, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
build doc fixes Sep 1, 2018
dist swapYZ enabled for OBJ files Jan 16, 2019
docs swapYZ enabled for OBJ files Jan 16, 2019
lib new build Oct 26, 2018
src Update Feature.js Aug 7, 2019
test added bounds property to event targets Oct 26, 2018
.gitignore develop worker loading Jun 5, 2018 fixed worker broken OBJ parameters Aug 10, 2018 SkyWall removed Mar 28, 2018 Update Aug 1, 2018
build.js html doc generation Aug 30, 2018
config.json added bounds property to event targets Oct 26, 2018
jsdoc_conf.json added color valdation Sep 2, 2017
package-lock.json new build Oct 26, 2018
package.json updated documentation Jul 7, 2019

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

You can’t perform that action at this time.