# createOsmBuildings

Scene/createOsmBuildings.js 50
Creates a `Cesium3DTileset` instance for the Cesium OSM Buildings tileset.

##### Examples:

    // Create Cesium OSM Buildings with default styling
    var viewer = new Cesium.Viewer('cesiumContainer');
    viewer.scene.primitives.add(Cesium.createOsmBuildings());

    // Create Cesium OSM Buildings with a custom style highlighting
    // schools and hospitals.
    viewer.scene.primitives.add(Cesium.createOsmBuildings({
      style: new Cesium.Cesium3DTileStyle({
        color: {
          conditions: [
            ["${feature['building']} === 'hospital'", "color('#0000FF')"],
            ["${feature['building']} === 'school'", "color('#00FF00')"],
            [true, "color('#ffffff')"]
          ]
        }
      })
    }));

##### See:

- Ion