Replies: 1 comment 1 reply
-
In 8.8 the Technically CompositeLayer's We may be able to fix this by making a special case when forwarding props from |
Beta Was this translation helpful? Give feedback.
-
In 8.8 the Technically CompositeLayer's We may be able to fix this by making a special case when forwarding props from |
Beta Was this translation helpful? Give feedback.
-
When using danmarshall/deckgl-typings the Data type for a collection didn't need to be an iterable https://github.com/danmarshall/deckgl-typings/blob/0e8e37c0ce2dac5b158bd570c7aaeeff681c5942/deck.gl__core/index.d.ts#L1041
With the typed version of deck.gl that is not the case. https://github.com/visgl/deck.gl/blob/master/modules/core/src/types/layer-props.ts#L85
I am now upgrading and trying to use the deck types instead and my data for my custom composite layers are indexed collections so it is giving me some pain.
Before I invest time in transforming that input data type, would it make sense to allow the
data
prop to be any type for custom composite layers? One of the main reasons I have for creating a custom layer is to perform some data processing and transformation. I would prefer to do it within the layer than outside of it.Beta Was this translation helpful? Give feedback.
All reactions