Mise à jour de Get Started authored by Julien LEBLOND's avatar Julien LEBLOND
...@@ -51,8 +51,9 @@ The [cesium sandbox](https://sandcastle.cesium.com) is a web interface that allo ...@@ -51,8 +51,9 @@ 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 viewer = new Viewer("cesiumContainer"); const viewer = new Viewer("cesiumContainer");
const czmlDataSource = Cesium.CzmlDataSource.load("PATH); const czmlDataSource = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(czmlDataSource); viewer.dataSources.add(czmlDataSource);
viewer.scene.globe.enableLighting = true; viewer.scene.globe.enableLighting = true;
``` ```
... ...
......