I had added a simple geojson which contains elevation information. I tried viewing as 3D with below code
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
sceneMode : Cesium.SceneMode.SCENE3D,
timeline : false,
animation : false
});
var dataSource = Cesium.GeoJsonDataSource.load(’…/…/SampleData/Buildings_3D_Elevation.geojson’);
viewer.dataSources.add(dataSource);
viewer.zoomTo(dataSource);
When i run the above code i got the viewer as attached in snapshot. I dont get any 3D. Please tell me where am i wrong. Am new to cesium.