Can not create a blank view in desketop viewer app #286
Labels
bug
Something isn't working
desktop
Desktop viewer or application related
good first issue
Good for newcomers
I try to create a BlankView with "@itwin/desktop-viewer-react": "^3.1.1".
As readme file said, I give the viewer component these props:
location={Cartographic.createZero()}
extents={[[0, 0, 0], [200, 200, 200]]}
but it can't render, alert "Please provide a valid access token"
I find the BaseViewer.ts is the reason, seems like need a ViewerAuthorization.client.
I try to change its value, but I still get the alert.
ps: I found the location and extents is not required in type, it's confusing.
The text was updated successfully, but these errors were encountered: