-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error loading new panorama #1254
Comments
Your example does not exhibit this problem. There is a problem however loading your panorama (probably a CORS issue). If I use Aren't you calling |
Yes, it makes no difference.
https://jsfiddle.net/ferpando/f40v8ewu/3/
Change the panorama for another you have locally

|
There is a misundertanding : I am asking if you where already calling "clearMarkers" and forgot to add it to your first example ? I identified a problem in the (by the way your https://paulbourke.net/panorama/sphere2persp/pano4.png image is huge and takes ages to load, you should consider using the tiles adapter and test on Firefox, which is enable to resize large images) |
In my own code yes I call the clearMarkers() method.
In the first example I didn’t call the method.
On the last example, I added the method, but the result es the same error.
Regards
|
Well no, in your first demo the error is not the same ! |
Anyway I fixed the problem I identified an published the plugin as version 5.7.2-fix.1 If this is not your problem you can open a new issue, and this time make sure the error you report is actually the error on the demo. |
The error is the same on my end on both examples.
I’m gonna test the new release and tell you.
|
It seems the issue is fixed with this fix.1 release.
Regards
… El 6 mar 2024, a las 13:47, Damien Sorel ***@***.***> escribió:
5.7.2-fix.1
|
Hello again.. the error is back with 5.7.2. Press the green marker in the demo to get this error https://jsfiddle.net/ferpando/f40v8ewu/4/ my browser gives a bit more info |
If you got to NPM you will see there is fix of the markers plugin https://www.npmjs.com/package/@photo-sphere-viewer/markers-plugin So use "5.7.2-fix.1", or simply "5" or "5.2" to automatically get the fixes |
That’s what it says but it is not fixed.Please check the demo.On 5.7.2.fix1 works but not in 5.7.2
|
Just to clarify, I thought this fix was incorporated on the 5.7.2 release, with I see it not.
So I still need to use the fix1 release for the moment?
|
When a version is published to NPM is cannot be replaced. That's why I marked 5.7.2 as deprecated. |
Ok then. I didn’t know that.
I’ll wait then for the next version to update the files.
Thank you and sorry for the confusion.
|
Describe the bug
I get this error when changing panorama
setPanorama(panorama, options)
this is the full error:
In the demo, click on the marker to load a new panorama and get the error.
if I switch back to 5.7.1 everything works fine.
Online demo URL
https://jsfiddle.net/ferpando/f40v8ewu/2/
Photo Sphere Viewer version
5.7.2
Plugins loaded
No response
OS & browser
MacOs Sonoma, Brave Versión 1.62.162 Chromium: 121.0.6167.164 (Build oficial) (arm64)
Additional context
No response
The text was updated successfully, but these errors were encountered: