google / marzipano

A 360° media viewer for the modern web.
http://www.marzipano.net
Apache License 2.0
1.95k stars 992 forks source link

Add wait and progress options to Viewer.switchScene #419

Closed trevorparscal closed 2 years ago

trevorparscal commented 2 years ago

wait: Delays transitioning to the new scene until all visible tiles are loaded. If the user rotates the camera while loading, it may take longer to load.

progress: Calls a function as progress loading visible tiles is made. can be used with or without wait. Progress values are given in the range of [0..1] and may go down if the user rotates the camera, bringing new tiles into view.

google-cla[bot] commented 2 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

trevorparscal commented 2 years ago

@googlebot I signed it!