Hide Floor Plan / Map when pin clicked on

Q&A about the latest versions
Post Reply
zeus360
Posts: 11
Joined: Thu Nov 08, 2018 1:30 pm

Fri Sep 25, 2020 9:27 pm

I'm having a slight issue regarding a map / floor plan. I currently have the map opening at 80 percent width and height when a representative icon is clicked on top open it. Obviously when the user clicks on a map pin, it's really hard to tell that something has happened in the background and that a new tour node has loaded. Ideally I'd like to have it so that when the user clicks on a map pin the map disappears and you can see the new node load and fade into view.

I have tried setting an action on node change to set a variable (map_visible) to false which in turn sets the visibility of the map to hidden which works great when you are within the tour, however, my issue is that the map is no longer showing at the start of the tour presumedly because the "node changed" action is firing right at the start of the tour. What I would like is the map to be visible at the start if at all possible.
User avatar
Tony
Posts: 1001
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Sun Sep 27, 2020 4:00 am

Add the Action Mouse Click > Set Variable Value > vis_map > false to your map marker. So then when someone clicks on a location the map hides.

audio_1.jpg
audio_1.jpg (480.37 KiB) Viewed 193 times

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
zeus360
Posts: 11
Joined: Thu Nov 08, 2018 1:30 pm

Mon Sep 28, 2020 1:00 pm

Fantastic that works a treat! I totally forgot that you can use skin elements to replace the map markers so not only to they close the map now but they also look much better too :)
Post Reply