createWorldTerrain

Creates a CesiumTerrainProvider instance for the Cesium World Terrain.
Name Type Default Description
options.requestVertexNormals Boolean false optional Flag that indicates if the client should request additional lighting information from the server if available.
options.requestWaterMask Boolean false optional Flag that indicates if the client should request per tile water masks from the server if available.
Returns:
Examples:
// Create Cesium World Terrain with default settings
var viewer = new Cesium.Viewer('cesiumContainer', {
    terrainProvider : terrainProvider : Cesium.createWorldTerrain();
});
// Create Cesium World Terrain with water and normals.
var viewer = new Cesium.Viewer('cesiumContainer', {
    terrainProvider : terrainProvider : Cesium.createWorldTerrain({
        requestWaterMask : true,
        requestVertexNormals : true
    });
});
See: