How to add controller to Deck.gl component? #5516
-
I'm trying to disable
The code above returns a static map. I would've expected the code map to enable you to pan but not scroll. Is there an example or additional documentation that provides a better understanding of this implementation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
Deck
is the non-React flavor ofDeckGL
. To adapt the example in the documentation to your use case, just pass thecontroller
prop to your DeckGL component.