Changes
Page history
Mise à jour de Get Started
authored
Oct 21, 2024
by
Julien LEBLOND
Show whitespace changes
Inline
Side-by-side
Get-Started.md
View page @
051bc028
...
@@ -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
;
...
...
...
...