Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OSMBuildings/OSMBuildings
3d building geometry viewer based on OpenStreetMap data
https://github.com/OSMBuildings/OSMBuildings
3d buildings geometry javascript osm osm-buildings
Last synced: 3 months ago
JSON representation
3d building geometry viewer based on OpenStreetMap data
- Host: GitHub
- URL: https://github.com/OSMBuildings/OSMBuildings
- Owner: OSMBuildings
- License: other
- Created: 2015-03-09T13:18:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T07:32:34.000Z (almost 4 years ago)
- Last Synced: 2024-04-27T08:02:42.873Z (10 months ago)
- Topics: 3d, buildings, geometry, javascript, osm, osm-buildings
- Language: JavaScript
- Homepage: https://osmbuildings.org/
- Size: 10.1 MB
- Stars: 905
- Watchers: 59
- Forks: 204
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
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