Skip to content

Commit

Permalink
[Bug]: fix grid hexbin and cluster layer crash (#1795)
Browse files Browse the repository at this point in the history
Signed-off-by: Shan He <heshan0131@gmail.com>
  • Loading branch information
heshan0131 committed Apr 21, 2022
1 parent 7ada98a commit 65228a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/layers/cluster-layer/cluster-layer.ts
Expand Up @@ -59,7 +59,7 @@ export const clusterVisConfigs = {
clusterRadius: 'clusterRadius',
colorRange: 'colorRange',
radiusRange: 'clusterRadiusRange',
colorAggregation: 'aggregation'
colorAggregation: 'colorAggregation'
};

export default class ClusterLayer extends AggregationLayer {
Expand Down
2 changes: 1 addition & 1 deletion src/layers/grid-layer/grid-layer.ts
Expand Up @@ -77,7 +77,7 @@ export const gridVisConfigs = {
elevationPercentile: 'elevationPercentile',
elevationScale: 'elevationScale',
enableElevationZoomFactor: 'enableElevationZoomFactor',
colorAggregation: 'aggregation',
colorAggregation: 'colorAggregation',
sizeAggregation: 'sizeAggregation',
enable3d: 'enable3d'
};
Expand Down
2 changes: 1 addition & 1 deletion src/layers/hexagon-layer/hexagon-layer.ts
Expand Up @@ -81,7 +81,7 @@ export const hexagonVisConfigs = {
elevationPercentile: 'elevationPercentile',
elevationScale: 'elevationScale',
enableElevationZoomFactor: 'enableElevationZoomFactor',
colorAggregation: 'aggregation',
colorAggregation: 'colorAggregation',
sizeAggregation: 'sizeAggregation',
enable3d: 'enable3d'
};
Expand Down

0 comments on commit 65228a8

Please sign in to comment.