Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[fix] fix for point column suggestion not working (#2974)
Igor Dykhtabbe51b980aa2
diff --git a/src/layers/src/base-layer.ts b/src/layers/src/base-layer.tsindex 56c191fd7..cf677ac53 100644--- a/src/layers/src/base-layer.ts+++ b/src/layers/src/base-layer.ts@@ -564,7 +564,7 @@ class Layer implements KeplerLayer {// key = 'lat'const {pair, fieldPairKey} = this.columnPairs?.[key] || {};- if (typeof fieldPairKey === 'string' && !pair[fieldPairKey]) {+ if (typeof fieldPairKey === 'string' && !fieldPairs[fieldPairKey]) {// do not allow `key: undefined` to creep into the `updatedColumn` objectreturn this.config.columns;}