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

WIP Create DTA key in to attach an imodel using the repositories API #7348

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andremig-bentley
Copy link
Contributor

This PR is WIP and mostly to be used as an example.

The important changes necessary to attach the iModel to the iTwin Viewer are in two parts. First, the calling of the Repositories API and parsing of responses which is handled as a part of the RepositoryApiTool in ViewportTools.ts. Secondly, there are changes to ensure the sas token is passed along when the tileset url is parsed in RealityDataSourceTilesetUrlImpl.ts. Without these changes, attempts to fetch the tiles within the tileset will be unauthorized and fail because the sas token will not be appended to the tile's url.

In progress are changes to allow the tool to switch between an iModel and reality data from within the same iTwin.

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

Successfully merging this pull request may close these issues.

1 participant