keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.38k stars 1.74k forks source link

[Bug] : error while initializing ClusterLayer({id: 'qujpxk9'}) TypeError: kdbush is not a function #693

Closed abhisek2713 closed 4 years ago

abhisek2713 commented 5 years ago

Describe the bug Facing error while clustering a copy of keplerJS in local: error while initializing ClusterLayer({id: 'qujpxk9'}) TypeError: kdbush is not a function

To Reproduce Steps to reproduce the behavior:

  1. Copy kepler.gl into local, load it with a default csv and config.
  2. Open console.
  3. Change the Source layer type to be cluster. It doesn't cluster.
  4. See error in console.

Expected behavior The data should be clustered and there should not error message in the clusters.

Screenshots image

Desktop (please complete the following information):

macrigiuseppe commented 4 years ago

this should be fixed