We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7524ff8 commit c148406Copy full SHA for c148406
src/components/KeplerGL/index.js
@@ -65,7 +65,10 @@ function getHoverInfo(info, allData) {
65
: // if hovered is a hexbbin, or grid, kepler.gl can return all the points inside that hexagon / grid
66
objectHovered.type === 'Feature'
67
? allData[objectHovered.properties.index]
68
- : objectHovered.points;
+ // with upgrade to v2 we now need to the data sub-object for hex and grid layer
69
+ : objectHovered.points.map(pt => {
70
+ return pt.data;
71
+ });
72
}
73
74
class KeplerGlComponent extends Component {
0 commit comments