Skip to content

How to add controller to Deck.gl component? #5516

Answered by Pessimistress
mmz15 asked this question in Q&A
Discussion options

You must be logged in to vote

Deck is the non-React flavor of DeckGL. To adapt the example in the documentation to your use case, just pass the controller prop to your DeckGL component.

<DeckGL controller={{scrollZoom: false}} ... />

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mmz15
Comment options

Answer selected by mmz15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants