iTwin / viewer

Monorepo that contains the iTwin Viewer npm packages and their related packages
MIT License
25 stars 16 forks source link

Async ViewState Parameters #53

Closed StefanRetief closed 2 years ago

StefanRetief commented 2 years ago

Modified the viewportOptions prop to now allow for an async viewstate method that will pass the imodel connection as a parameter.

Included is also the ability to set alwaysUseSuppliedViewstate to true to wait until an application provides a view state instead of creating a default viewstate.