Closed AndyBaird closed 3 months ago
What di you mean "stopped firing everywhere" ? can you give a concrete example of expected behaviour (setup and demo using version 5.7.4 on stackblitz or other)
Diagnosing it further, the problem does not appear to be the event listener itself, but the markersPlugin. I found that when updating to 5.8.1 the markers object inside of the markersPlugin is null:
5.8.1 markersPlugin object:
5.7.4 markersPlugin object:
Yes because the virtual tour plugin does not use markers anymore as stated in the 5.8.0 changelog.
You might use events of the virtual tour plugin instead https://photo-sphere-viewer.js.org/api/modules/virtualtourplugin.events
Understood, shifting to the enter-arrow
events will work. I thought those events were still only applicable to the arrows in 3d mode and not markers. Perhaps that part of the guide can be updated for clarity.
Thanks!
Updated the doc to remove the outdated statement
Describe your problem
I am testing the updates on 5.8.1 and noticed the
enter-marker
events stopped firing everywhere. I am utilizing the VirtualTourPlugin as well. Are we still supposed to utilize that method in the markersPlugin when using the virtualTourPlugin?Online demo URL
No response
Photo Sphere Viewer version
5.8.1
Plugins loaded
markersPlugin, galleryPlugin, gyroscopePlugin, virtualTourPlugin
Additional context
This no longer works after moving to 5.8.1: