Replies: 2 comments 6 replies
-
Use layers instead of JSX if you want to split out layer creation to other functions. |
Beta Was this translation helpful? Give feedback.
6 replies
-
@Pessimistress Entirely separate question – is the ControllerOptions available to be imported from the core/modules? I'd like to be able to create a variable for the controller and make it typescript compliant:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
So I'm using DeckGL with React and I was wondering why it's possible to render LineLayers, Map (from react-map-gl) as direct children of DeckGL, but not as imported components, like so:
Works:
Does not work:
Is it because of this caveat stated here? The goal is to be able to separate properties and functionalities only in components where they're concerned.
Beta Was this translation helpful? Give feedback.
All reactions