Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Bugs in graph tutorial #67

Open
alexung opened this issue Aug 20, 2018 · 1 comment
Open

Bugs in graph tutorial #67

alexung opened this issue Aug 20, 2018 · 1 comment

Comments

@alexung
Copy link

alexung commented Aug 20, 2018

Hey all,

Thanks for putting this together -- much appreciated. Am going through the graph tutorial at the moment and have a blank screen with no visible errors in the console.

Also am trying to keep up to date with the newest releases of deck.gl and after updating my npm package to "deck.gl": "^6.0.3", it seems that OrthographicViewport can now be substituted with OrthographicView, which DeckGL can include with propview as opposed to viewport.

New viewport in createViewport():

return new OrthographicView({ width, height, left: (-width / 2), top: (-height / 2) });

I'm not getting anything showing up on the screen with these changes in place. I do see something, however, when I comment out getSourcePosition() in createEdgeLayer():

screen shot 2018-08-20 at 2 42 06 pm

Curious as to what's going on -- no nodes are visible? Would appreciate assistance.

@SantiagoCityFlag
Copy link

SantiagoCityFlag commented Dec 19, 2018

Update When going into lesson 3 of tutorial I get also a blank screen with the following error on console:

Uncaught TypeError: u.OrthographicViewport is not a constructor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants