Skip to content

Commit 274cfc4

Browse files
Split widgets infovis demo with orthographic view (#9837)
1 parent 8265fd8 commit 274cfc4

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

  • test/apps/widgets-infovis

test/apps/widgets-infovis/app.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,20 @@ new Deck({
7070
})
7171
],
7272
widgets: [
73-
new ZoomWidget(),
74-
new GimbalWidget(),
7573
new FullscreenWidget(),
76-
new ResetViewWidget(),
74+
new GimbalWidget(),
75+
new ResetViewWidget({id: 'reset-orbit', viewId: 'orbit-view', placement: 'top-right'}),
76+
new ScrollbarWidget({
77+
id: 'scroll-orbit',
78+
viewId: 'orbit-view',
79+
orientation: 'horizontal',
80+
contentBounds: [
81+
[-50, -50],
82+
[50, 50]
83+
]
84+
}),
85+
new ResetViewWidget({id: 'reset-ortho', viewId: 'ortho-view', placement: 'top-right'}),
86+
new ZoomWidget({viewId: 'ortho-view'}),
7787
new ThemeWidget({
7888
// darkModeTheme: DarkTheme,
7989
// lightModeTheme: LightTheme,

0 commit comments

Comments
 (0)