deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Choropleth64 layer broken

Open howtimeflies0 opened this issue 10 years ago • 2 comments

Choropleth64 layers are broken as of c6b27ce55e365906327fb013c1e2a0747e2fa790

However, removing the type property when adding colors attribute resolves the issue.

 --- a/src/layers/fp64/choropleth-layer/choropleth-layer.js
 +++ b/src/layers/fp64/choropleth-layer/choropleth-layer.js
 @@ -61,7 +61,6 @@ export default class ChoroplethLayer64 extends Layer {
        heightsFP64: {size: 2, update: this.calculateHeightsFP64},
        colors: {
          size: 4,
 -        type: GL.UNSIGNED_BYTE,
          update: this.calculateColors
        },
        // Instanced attributes

I'm a bit confused... @ibgreen do you know how this is happening?

howtimeflies0 avatar Nov 03 '16 16:11 howtimeflies0

Introduced in https://github.com/uber/deck.gl/pull/161.

balthazar avatar Nov 03 '16 17:11 balthazar

Resolved by #172. Closing

howtimeflies0 avatar Nov 03 '16 18:11 howtimeflies0