I am currently use panolens with ReactJS. I want to update viewer when some state in React components like. For example, each panorama have an configuration for auto rotation speed, when panorama change, I want to update the viewer rotate speed. I have use setState(new Viewer) but it doesn't work. How can I solve this issues?
Description
I am currently use panolens with ReactJS. I want to update viewer when some state in React components like. For example, each panorama have an configuration for auto rotation speed, when panorama change, I want to update the viewer rotate speed. I have use setState(new Viewer) but it doesn't work. How can I solve this issues?
Live example:
Panolens version
Browser