Skip to content
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

Virtual Tour - dummy question #623

Closed
haldo98 opened this issue Jan 22, 2022 · 9 comments
Closed

Virtual Tour - dummy question #623

haldo98 opened this issue Jan 22, 2022 · 9 comments
Labels
Milestone

Comments

@haldo98
Copy link

haldo98 commented Jan 22, 2022

I'm a newbie so......

I managed to get the virtual tour links on my pano...

https://www.tadini.it/photosphere/test/panorama_bregagno.htm

but even if i declare the "markers" render.... the pano shows as 3d
I guessed it was the panodata and I added to the node declaration... but If I do the pano shows correctly but the marker disappear....

Thank You.

@mistic100
Copy link
Owner

mistic100 commented Jan 22, 2022

you should use HTML5 doctype, HTML 4 is just completely outdated https://www.w3resource.com/html5/doctype.php

remove the initial "panorama" and "panoData", these are overridden by the plugin anyway (and this is why you get "Loading was aborted" error in the console)
"panoData" must be defined on each node https://photo-sphere-viewer.js.org/plugins/plugin-virtual-tour.html#nodes-options

I finally I do see markers on your page....

@haldo98
Copy link
Author

haldo98 commented Jan 22, 2022

Yes.... works now....

Thank You !!!!!!!!!

@haldo98
Copy link
Author

haldo98 commented Jan 22, 2022

but I have another question:

in the linked panorama the default view is towards north (poseheading value)
I tried to add defaultLong and also defaultZoomLvl (the two panoramas has different settings) ... but it doesn't work.

can I open the linked pano with zoom level and longitude set differently?

and also If I add the compass plugin it works only for the first image.... should it be set in the nodes?

Thank You again for your patience.....

@mistic100
Copy link
Owner

can I open the linked pano with zoom level and longitude set differently?

no, that's whay I answered in the other thread, the current viewer orientation is kept, only the poseHeading can be changed.

and also If I add the compass plugin it works only for the first image

what do you mean ? it seems to work perfectly on your demo

@haldo98
Copy link
Author

haldo98 commented Jan 22, 2022

can I open the linked pano with zoom level and longitude set differently?

no, that's whay I answered in the other thread, the current viewer orientation is kept, only the poseHeading can be changed.

I guessed so.... but I asked just to be sure.

and also If I add the compass plugin it works only for the first image

what do you mean ? it seems to work perfectly on your demo

Yes it works but the orientation messes up after the back and forth from one pano to other...

these are the two panos.. with the correct orientation....

https://www.tadini.it/photosphere/test/panorama_bregagno.htm

https://www.tadini.it/photosphere/test/panorama_legnoncino.htm

if from the previous one (bregagno) I go to the second.. (legnoncino) the north is different

Thank You,

@mistic100
Copy link
Owner

Ok that's much more clear. Please refrain to just say "it does not work" when encountering a bug, it is never useful.

@haldo98
Copy link
Author

haldo98 commented Jan 22, 2022

Ok that's much more clear. Please refrain to just say "it does not work" when encountering a bug, it is never useful.

sorry....

@mistic100 mistic100 added the bug label Jan 22, 2022
@mistic100 mistic100 added this to the 4.4.3 milestone Jan 22, 2022
@mistic100
Copy link
Owner

I tracked down the problem into the cross-fade animation not applying correctly the "panoData". Next version will fix it.

@github-actions
Copy link

This feature/bug fix has been released in version 4.4.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants