Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/upgrade kepler 2.4 #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Chris DeMartini <[email protected]>",
"Shan He <[email protected]>"
],
"version": "1.0.0",
"version": "1.1.0",
"description": "kepler.gl is a webgl based application to visualize large scale location data in the browser",
"homepage": "https://keplergl-tableau.netlify.com",
"license": "MIT",
Expand Down Expand Up @@ -33,7 +33,7 @@
"@tableau/tableau-ui": "^2.1.0",
"core-js": "^2.6.0",
"gh-pages": "^2.0.1",
"kepler.gl": "2.1.0-alpha.3",
"kepler.gl": "2.4",
"lodash.throttle": "^4.1.1",
"react": "^16.8.4",
"react-beautiful-dnd": "^9.0.2",
Expand Down
4 changes: 3 additions & 1 deletion src/components/KeplerGL/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ function getHoverInfo(info, allData) {
? allData[objectHovered.properties.index]
// with upgrade to v2 we now need to the data sub-object for hex and grid layer
: objectHovered.points.map(pt => {
return pt.data;
return pt.data
? pt.data
: pt.source.data;
});
}

Expand Down
Loading