Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[Bug]: fix grid hexbin and cluster layer crash (#1795)
Shan He65228a8511bf
diff --git a/src/layers/cluster-layer/cluster-layer.ts b/src/layers/cluster-layer/cluster-layer.tsindex 57277d38b..759658279 100644--- a/src/layers/cluster-layer/cluster-layer.ts+++ b/src/layers/cluster-layer/cluster-layer.ts@@ -59,7 +59,7 @@ export const clusterVisConfigs = {clusterRadius: 'clusterRadius',colorRange: 'colorRange',radiusRange: 'clusterRadiusRange',- colorAggregation: 'aggregation'+ colorAggregation: 'colorAggregation'};export default class ClusterLayer extends AggregationLayer {diff --git a/src/layers/grid-layer/grid-layer.ts b/src/layers/grid-layer/grid-layer.tsindex c509ef7e4..7c3ff0b55 100644--- a/src/layers/grid-layer/grid-layer.ts+++ b/src/layers/grid-layer/grid-layer.ts@@ -77,7 +77,7 @@ export const gridVisConfigs = {elevationPercentile: 'elevationPercentile',elevationScale: 'elevationScale',enableElevationZoomFactor: 'enableElevationZoomFactor',- colorAggregation: 'aggregation',+ colorAggregation: 'colorAggregation',sizeAggregation: 'sizeAggregation',enable3d: 'enable3d'};diff --git a/src/layers/hexagon-layer/hexagon-layer.ts b/src/layers/hexagon-layer/hexagon-layer.tsindex f8785a6bf..db889bab5 100644--- a/src/layers/hexagon-layer/hexagon-layer.ts+++ b/src/layers/hexagon-layer/hexagon-layer.ts@@ -81,7 +81,7 @@ export const hexagonVisConfigs = {elevationPercentile: 'elevationPercentile',elevationScale: 'elevationScale',enableElevationZoomFactor: 'enableElevationZoomFactor',- colorAggregation: 'aggregation',+ colorAggregation: 'colorAggregation',sizeAggregation: 'sizeAggregation',enable3d: 'enable3d'};