CartoDB / carto-react

CARTO for React packages
https://docs.carto.com/react/
MIT License
38 stars 16 forks source link

quadbinZoom error #527

Closed menusal closed 2 years ago

menusal commented 2 years ago

Version of C4R ^1.4.5

After the last update of the C4R version and working with spatial indexes layers, in this case, a quadbin layer, the quadbin library seems than isn't imported correctly.

Error

Uncaught TypeError: (0 , A._quadbinZoom) is not a function
    at 6676cb64-5f27-45d4-bd28-0d8487d404eb:2:231929
    at $A (6676cb64-5f27-45d4-bd28-0d8487d404eb:2:231989)
    at te (6676cb64-5f27-45d4-bd28-0d8487d404eb:2:233793)
    at 6676cb64-5f27-45d4-bd28-0d8487d404eb:2:243324
    at onmessage (6676cb64-5f27-45d4-bd28-0d8487d404eb:2:243445)
image image

Code and intructions to reproduce the unexpected behavior

You must sign in with ps-cpg+dev@cartodb.comcredentials. Ping me to provide +info

Josmorsot commented 2 years ago

~@felixpalmer looks like quadbinZoom doesn't exists in quadbin-js. This function was exported in @deck.gl/carto.~ We're going to publish a new version cherry-picking https://github.com/CartoDB/carto-react/pull/467/files#diff-337ead04a20e03f578a3166d4928bcf79a396bfd9df9e750662aeb689a5d5aceR60

Josmorsot commented 2 years ago

Fixed in v1.4.6