Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not create a blank view in desketop viewer app #286

Closed
fatalstar opened this issue Jun 30, 2023 · 0 comments · Fixed by #295
Closed

Can not create a blank view in desketop viewer app #286

fatalstar opened this issue Jun 30, 2023 · 0 comments · Fixed by #295
Assignees
Labels
bug Something isn't working desktop Desktop viewer or application related good first issue Good for newcomers

Comments

@fatalstar
Copy link

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.
image

@aruniverse aruniverse added desktop Desktop viewer or application related bug Something isn't working good first issue Good for newcomers labels Aug 23, 2023
@AnDuong249 AnDuong249 linked a pull request Sep 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop Desktop viewer or application related good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants