Skip to content

Commit 32c0d72

Browse files
authored
Update index.html
1 parent c9c7111 commit 32c0d72

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

solcelle/index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
}
2020

2121
#cesiumContainer {
22-
width: 100%;
23-
height:100%;
22+
width: 100%;
23+
height: 100%;
2424
}
2525
</style>
2626
</head>
@@ -35,6 +35,11 @@
3535
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI2NGM3NDNkYy0yZWM0LTQ0ODQtYjFmNS0zMDY4MGIxNDVmYmQiLCJpZCI6MTgyMzEsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1NzM1MDc5NTd9.VF54ufCrlaAEna_iHaCn47njpuMz1qgjrone4WnuCuA';
3636

3737
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+
}),
3843
terrainProvider: new Cesium.CesiumTerrainProvider({
3944
url: Cesium.IonResource.fromAssetId(74171)
4045
}),

0 commit comments

Comments
 (0)