[Bug][Jupyter Widget] Hexbin fails with EnhancedColumnLayer TypeError
See original GitHub issueDescribe 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:
- load kepler
- Add data:
GeoDataFrame
withhex_id
column containing H3 hashes at resolution 5,6 - 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 and it works.
Within Jupyter, I also converted the hashes to lat/lon points and they are correctly loaded in the expected location
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
keplergl 0.3.2 - PythonFix.com
This is a simple jupyter widget for kepler.gl, an advanced geospatial ... Widget] Hexbin fails with EnhancedColumnLayer TypeError ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot @Sandbird ! That actually helped!
It seems to be a problem with some hexagons, and not related to the mapbox key.
Here is an example to reproduce the bug:
Hope this help reproducing the problem.