File tree 1 file changed +7
-2
lines changed 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 19
19
}
20
20
21
21
# cesiumContainer {
22
- width : 100% ;
23
- height : 100% ;
22
+ width : 100% ;
23
+ height : 100% ;
24
24
}
25
25
</ style >
26
26
</ head >
35
35
Cesium . Ion . defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2NGM3NDNkYy0yZWM0LTQ0ODQtYjFmNS0zMDY4MGIxNDVmYmQiLCJpZCI6MTgyMzEsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzM1MDc5NTd9.VF54ufCrlaAEna_iHaCn47njpuMz1qgjrone4WnuCuA' ;
36
36
37
37
var viewer = new Cesium . Viewer ( 'cesiumContainer' , {
38
+ baseLayerPicker : false ,
39
+ imageryProvider : new Cesium . MapboxImageryProvider ( {
40
+ mapId : 'mapbox.satellite' ,
41
+ accessToken : 'pk.eyJ1IjoiYmFmZmlvc28iLCJhIjoiY2s2cDNna2ZkMDkxYzNrcWxsOWhnMXpncSJ9.GDRxMk2269dec-HR2TAk-w'
42
+ } ) ,
38
43
terrainProvider : new Cesium . CesiumTerrainProvider ( {
39
44
url : Cesium . IonResource . fromAssetId ( 74171 )
40
45
} ) ,
You can’t perform that action at this time.
0 commit comments