You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I restore pano to display on page (keeping all setting like hotspots etc.) after destroying with "destroy" method ? Or maybe there is better way to "unload" and "load" 3D panos ?
It's all because of webgl limit of gl object to display at once on page and I have 20+ panos to manage.
The text was updated successfully, but these errors were encountered:
As the name suggests, the destroy method completely removes the viewer, so there's no way to restore besides creating a new viewer with the same configuration.
Have you considered configuring Pannellum with the different panoramas as different scenes? The scene can be changed using the API's loadScene method, so the different panoramas don't need to be linked into a tour via hot spots—external controls such as a set of thumbnails could be used to switch between panoramas if desired.
Hello,
How can I restore pano to display on page (keeping all setting like hotspots etc.) after destroying with "destroy" method ? Or maybe there is better way to "unload" and "load" 3D panos ?
It's all because of webgl limit of gl object to display at once on page and I have 20+ panos to manage.
The text was updated successfully, but these errors were encountered: