File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ import {
24
24
LayerDataSource ,
25
25
_compareProps as compareProps ,
26
26
UpdateParameters ,
27
- CompositeLayerProps
27
+ CompositeLayerProps ,
28
+ Attribute
28
29
} from '@deck.gl/core' ;
29
30
import { filterProps } from './utils/prop-utils' ;
30
31
@@ -75,7 +76,7 @@ export default abstract class AggregationLayer<
75
76
this . setState ( { changedAttributes} ) ;
76
77
}
77
78
78
- getAttributes ( ) {
79
+ getAttributes ( ) : { [ id : string ] : Attribute } {
79
80
return this . getAttributeManager ( ) ! . getAttributes ( ) ;
80
81
}
81
82
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ export {default as _PickLayersPass} from './passes/pick-layers-pass';
45
45
export { default as Deck } from './lib/deck' ;
46
46
47
47
export { default as LayerManager } from './lib/layer-manager' ;
48
+ export { default as Attribute } from './lib/attribute/attribute' ;
48
49
export { default as AttributeManager } from './lib/attribute/attribute-manager' ;
49
50
export { default as Layer } from './lib/layer' ;
50
51
export { default as CompositeLayer } from './lib/composite-layer' ;
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export {
56
56
OrthographicController ,
57
57
_GlobeController ,
58
58
// For custom layers
59
+ Attribute ,
59
60
AttributeManager ,
60
61
// Shader modules
61
62
picking ,
You can’t perform that action at this time.
0 commit comments