keplergl / keplergl/kepler.gl

[Bug][Jupyter Widget] Hexbin fails with EnhancedColumnLayer TypeError

Open
#1,644 22 comments 6 reactions 1 assignee Claimed by @heshan0131 View on GitHub
jupyter
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
Kepler fails to load an hexbin map widget with error:

`deck: error during initialisation of EnhancedColumnLayer({id: 'lifibkk-hexagon-cell'}) TypeError: Class constructor o cannot be invoked without 'new'`

**To Reproduce**
Steps to reproduce the behavior:
1. load kepler
2. Add data: `GeoDataFrame` with `hex_id` column containing H3 hashes at resolution 5,6
3. Try to load map

**Expected behavior**

An interactive map widget should be displayed. It works at resolution 5, but fails for hashes at resolution 6.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**
- Python version: 3.7.7
- keplergl Widget version: 0.3.2

**Additional context**
I tried loading the same data on the [demo website](https://kepler.gl/demo) and it works.

Within Jupyter, I also converted the hashes to lat/lon points and they are correctly loaded in the expected location

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.