Support binary data props
bclinkinbeard opened this issue · 1 comments
bclinkinbeard commented
As described in https://deck.gl/docs/developer-guide/performance#supply-binary-blobs-to-the-data-prop, most layers support the specification of an object like {length: blobLength}
as their data
prop. This also means the existing data accessor signatures are incomplete. I think the correct form would be (d: D, {index: number, data: {length: number, [index: string]: any}, target: number[]}?) => Position
, but I'm not positive.
testower commented
I think it's the same problem for data.attributes. Is there a workaround?