hotspots hidden while moving pano

Q&A about the latest versions
Post Reply
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Hi, is there a way to make hotspots fade out while you're moving the pano, and then fade in when you stop mov ing it - preferably when your finger is taken off the screen?

Thanks,
Jesse
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jesse,
You can use a timer, it has Player in active state so should be able to do this.
As a hint have it so when it’s active it changes a variable to true and when it times out it sets the variable to false.
The you can use an Alpha logic block to fade the hotspot image in and out.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Hi Hopki, thanks for the quick response.

I can’t figure it out unfortunately. Should the timer be wrapped around the hotspot or on its own?

Not sure what else I’m doing wrong, but I’ll keep playing around. I’ve been using the same template for so long that I’ve become rusty I guess.

Thanks,
Jesse
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jesse,
Please find a working project attached.
The timer can not be a child element of a Hotspot Template.
The timer changes a variable, the variable then changes the alpha of the text box.
Regards,
Attachments
project.zip
(13.01 KiB) Downloaded 95 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Wow, thank you!
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Hi Hopki,

Thanks again, I havre implemented it and it works great:

www.the360listing.com/h34

There's one small detail I'd like to change. When I'm moving the pano with my finger it does exactly what it's supposed to do. But, if I stop moving the pano and keep my finger down, the hotspots will pop back up after a few seconds - even if I haven't released my finger. Is there a way to keep the hotspots hidden until I release my finger? The reason being, the user might want to continue looking at a certain point of the pano without the hotspots appearing.

Thanks!

Best,
Jesse
Jmondo
Posts: 73
Joined: Thu Nov 16, 2017 11:10 am

Hi Hopki,

I found an additional issue - with the new hotspot functionality, when the mobile site has the gyro turned on, the hotspots disappear altogether...

https://the360listing.com/h34test/

I can't find the connection to fix this. Any thoughts?

Thanks,
Jesse
Idocio
Posts: 52
Joined: Wed Apr 15, 2020 9:26 pm

Hopki wrote: Tue Dec 07, 2021 10:33 pm Hi Jesse,
Please find a working project attached.
The timer can not be a child element of a Hotspot Template.
The timer changes a variable, the variable then changes the alpha of the text box.
Very cool the effect.
A doubt. What effect does the "Show Hotspot Preview" parameter have?
I have tried the option on and off and have not noticed any difference.

Also, the hotspot does not work for me to change to another panorama.
Do we have to add something else?
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
The variable "opt_hotspot_preview" is not used, it was from when making another project so that can be deleted.
The one you need is "vis_hs".

To change nodes you need to add an action to the Hotspot template, this would be:
Source: Mouse Click
Action: Open Next Panorama
URL: Hotspot URL
View: Target View

Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply