Mise à jour de Get Started authored by Julien LEBLOND's avatar Julien LEBLOND
...@@ -20,7 +20,7 @@ The [cesium sandbox](https://sandcastle.cesium.com) is a web interface that allo ...@@ -20,7 +20,7 @@ The [cesium sandbox](https://sandcastle.cesium.com) is a web interface that allo
Here is a basic load of a CZML file in cesiumJS : Here is a basic load of a CZML file in cesiumJS :
```javascript ```javascript
const czml = "ENTER YOUR CZML HERE" ; const czml = "ENTER YOUR CZML HERE" ;
const viewer = new Viewer("cesiumContainer"); const viewer = new Cesium.Viewer("cesiumContainer");
const czmlDataSource = Cesium.CzmlDataSource.load(czml); const czmlDataSource = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(czmlDataSource); viewer.dataSources.add(czmlDataSource);
viewer.scene.globe.enableLighting = true; viewer.scene.globe.enableLighting = true;
... ...
......