# OSMBuildings **Repository Path**: ytablebear/OSMBuildings ## Basic Information - **Project Name**: OSMBuildings - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-28 - **Last Updated**: 2024-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Our project name was seized by a multimillion dollar organization for profit. Read more: https://medium.com/@osmbuildings/why-were-not-going-to-support-a-multimillion-dollar-company-bde6116a954d # OSM Buildings OSM Buildings is a library for visualizing 3d building geometry. - [Documentation](https://osmbuildings.org/documentation/) - [Example](http://osmbuildings.org) ### Quick integration Link all required libraries in your HTML head section. Files are provided in folder `/dist`. ````html
```` In a script section initialize OSM Buildings and add it to a DOM container. ```` javascript var osmb = new OSMBuildings({ container: 'map', position: { latitude: 52.52000, longitude: 13.41000 }, zoom: 16, minZoom: 15, maxZoom: 22 }); osmb.addMapTiles( YOUR_TILESET_URL, { attribution: '© Data OpenStreetMap · © Map Mapbox' } ); osmb.addGeoJSONTiles('http://{s}.data.osmbuildings.org/0.2/anonymous/tile/{z}/{x}/{y}.json'); ```` ### OSM Buildings server There is also documentation of OSM Buildings Server side. See https://github.com/OSMBuildings/OSMBuildings/blob/master/docs/server.md