Skip to content

Commit

Permalink
[Chore]: Technical: Translate deckgl-layers/column-layer (#1793)
Browse files Browse the repository at this point in the history
Renamed js file

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
  • Loading branch information
HeimEndyd committed Apr 21, 2022
1 parent f64b551 commit 013b987
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -19,7 +19,7 @@
// THE SOFTWARE.

import {ColumnLayer} from '@deck.gl/layers';
import {editShader} from 'deckgl-layers/layer-utils/shader-utils';
import {editShader} from '../../deckgl-layers/layer-utils/shader-utils';

function addInstanceCoverage(vs) {
const addDecl = editShader(
Expand All @@ -39,7 +39,7 @@ function addInstanceCoverage(vs) {
}

// TODO: export all deck.gl layers from kepler.gl
class EnhancedColumnLayer extends ColumnLayer {
class EnhancedColumnLayer extends ColumnLayer<any> {
getShaders() {
const shaders = super.getShaders();

Expand All @@ -50,7 +50,7 @@ class EnhancedColumnLayer extends ColumnLayer {
}

initializeState() {
super.initializeState();
super.initializeState(undefined);

this.getAttributeManager().addInstanced({
instanceCoverage: {size: 1, accessor: 'getCoverage'}
Expand Down

0 comments on commit 013b987

Please sign in to comment.