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
on the photo-sphere-viewer docs, under the virtualTour plugin, there's a method called getCurrentNode which is supposed to return the current node. I used this in react-photo-sphere-viewer after getting an instance of the virtualTour plugin and got an error. I have attached an Image containing the error
What should have happened?
return current node
Code
// create an instance of the plugins
const handleReady = (instance) => {
// marker plugin intance
const markersPluginInstance = instance.getPlugin(MarkersPlugin);
thank you. i have already used the "node-changed" event listener to get my nodeId which is what i was after but it'll still be great to have the method fixed
What happened?
on the photo-sphere-viewer docs, under the virtualTour plugin, there's a method called getCurrentNode which is supposed to return the current node. I used this in react-photo-sphere-viewer after getting an instance of the virtualTour plugin and got an error. I have attached an Image containing the error
What should have happened?
return current node
Code
// create an instance of the plugins
const handleReady = (instance) => {
// marker plugin intance
const markersPluginInstance = instance.getPlugin(MarkersPlugin);
};
Sandbox Link
No response
Library Version
"^3.4.0-psv5.4.0"
What operating system are you using?
macOS
What browser are you using?
Chrome
Logs
No response
Interest to fix the bug
The text was updated successfully, but these errors were encountered: