Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

vis-academy examples do not seem to work with current version of deck.gl #69

@octopicorn

Description

@octopicorn

Steps to reproduce:

  1. git clone vis-academy
  2. cd src/demos/2-scatterplot-overlay
  3. run yarn
  4. run yarn start
  5. observe on localhost:3030 that the scatterplot example is visible
  6. close web serve with cmd+C
  7. in package.json, upgrade the following:
"deck.gl": "^6.1.0",
"luma.gl": "^6.0.1",
"react-vis": "^1.11.1"

these are latest versions
8. now run yarn and then yarn start

Expected
Demo should still work, and render scatterplot

Actual
Scatteprlot does not render.

Error from console:

draw-layers.js:257 Uncaught TypeError: Cannot assign to read only property 'viewport' of object '[object Object]'
    at Function.assign (<anonymous>)
    at drawLayerInViewport (draw-layers.js:257)
    at draw-layers.js:229
    at Array.forEach (<anonymous>)
    at drawLayersInViewport (draw-layers.js:201)
    at draw-layers.js:89
    at Array.forEach (<anonymous>)
    at drawLayers (draw-layers.js:83)
    at draw-layers.js:132
    at withParameters (context-state.js:182)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions