Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewStateProps does not support a deck with multiple views #216

Open
ebbishop opened this issue Oct 12, 2021 · 0 comments
Open

ViewStateProps does not support a deck with multiple views #216

ebbishop opened this issue Oct 12, 2021 · 0 comments

Comments

@ebbishop
Copy link
Contributor

From the deck.gl docs:

When using multiple views, the viewState is a map from each view id to its respective view state object. See example.

(Note: The example linked above in the quoted docs shows initializing the deck's viewState incorrectly. I'm confirming this with deck.gl folks.)

Currently, the viewState property of DeckProps only accepts an object of type ViewStateProps. It should also accept an object that is a map from the various view ids to each view's own view state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant