I would like to initialize cesium so that the map is focused on specific coordinates instead of the standard ones. I have the following initialization code:
var map = new Cesium.CesiumWidget('map-js'); map.centralBody.terrainProvider = new Cesium.CesiumTerrainProvider({ url : 'http://cesiumjs.org/smallterrain' });
Usually, with other mapping libraries, I would set the center on initialization, for example, on mapbox:
map = L.mapbox.map('map-js', 'api-key').setView([42.12, 12.45], 9);
How to do this with cesium ?
javascript cesium
nemesisdesign
source share