Skip to content

Commit b27251b

Browse files
committed
adjust viewer in sandcastle
1 parent 6a36391 commit b27251b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Apps/Sandcastle/gallery/iTwin Feature Service.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,16 @@
3636

3737
const iTwinId = "04ba725f-f3c0-4f30-8014-a4488cbd612d";
3838

39-
const viewer = new Cesium.Viewer("cesiumContainer");
39+
const viewer = new Cesium.Viewer("cesiumContainer", {
40+
geocoder: false,
41+
sceneModePicker: false,
42+
homeButton: false,
43+
timeline: false,
44+
animation: false,
45+
});
46+
viewer.baseLayerPicker.viewModel.selectedImagery =
47+
viewer.baseLayerPicker.viewModel.imageryProviderViewModels[2];
48+
4049
const birdsEyeView = {
4150
destination: new Cesium.Cartesian3(
4251
-1525359.4318772827,
@@ -88,7 +97,7 @@
8897
lines.entities.values.forEach((entity) => {
8998
const lineColorsByType = {
9099
Contours: Cesium.Color.CRIMSON,
91-
Lane_Marking: Cesium.Color.WHITE,
100+
Lane_Marking: Cesium.Color.CYAN,
92101
Kerb: Cesium.Color.BLUEVIOLET,
93102
Chevron_marking: Cesium.Color.DARKORANGE,
94103
Turning_pocket: Cesium.Color.DEEPPINK,
Loading

0 commit comments

Comments
 (0)