Update Altitude [SOLVED]

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
dePassage66
Posts: 102
Joined: Mon Mar 20, 2023 11:19 am

Hi to all,

I don't understand what I did wrong about the parameter Altitude in the skin editor...
I've a text field which is supposed to update the Altitude from the GPS data.
screenshoot04.jpg
screenshoot04.jpg (44.27 KiB) Viewed 9139 times
Sometimes, when the field is empty, then the Altitude is updated, but doesn't change with the next panorama.
The text field is always visible and when there is no data for the Altitude, the field is empty which is correct.

Any idea may be ?

Best regards, Jean-Paul.
Last edited by dePassage66 on Fri Feb 28, 2025 9:22 am, edited 1 time in total.
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/en_index.html
User avatar
Hopki
Gnome
Posts: 13437
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Jean-Paul,
All you need to do is add the placeholder to the text box.

1.jpg
1.jpg (14.2 KiB) Viewed 9062 times

This will update when changing nodes.

2.png
2.png (6.37 KiB) Viewed 9062 times

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/
User avatar
dePassage66
Posts: 102
Joined: Mon Mar 20, 2023 11:19 am

Hi Hopki,

Thanks for the answer but I want the Altitude field to be empty when there is no GPS data, that's why I had put a condition in the logic block before.

See below what happens:
screenshoot03.jpg
screenshoot03.jpg (32.41 KiB) Viewed 9050 times
and then this
screenshoot04.jpg
screenshoot04.jpg (37.25 KiB) Viewed 9050 times
Otherwise, indeed, the Altitude field updates much better with your method and not with mine...

Best regards, Jean-Paul
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/en_index.html
User avatar
dePassage66
Posts: 102
Joined: Mon Mar 20, 2023 11:19 am

Hi,

I found out the right order to achive what I tried ;-)

See below:
screenshoot01.jpg
screenshoot01.jpg (63.16 KiB) Viewed 9020 times
Regards, Jean-Paul
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/en_index.html
User avatar
Hopki
Gnome
Posts: 13437
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I'm glad it's working, so the text is not seen when there is no altitude, so not set.
I would have just had $(alt) in the text box and then added an action filter.

1.jpg
1.jpg (20.29 KiB) Viewed 8854 times

This removes all text.
To go one further you can even use the same logic in the text boxes visible logic block to remove the text box altogether.

2.jpg
2.jpg (19.56 KiB) Viewed 8854 times

Just a different way to achieve the same thing.
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/
User avatar
dePassage66
Posts: 102
Joined: Mon Mar 20, 2023 11:19 am

Hi Hopki,

I didn't try your way but I trust you ;-)

Regards, Jean-Paul.
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/en_index.html
Post Reply