Page 1 of 1

Placeholder for map level?

Posted: Wed Sep 11, 2019 8:47 pm
by MPotoka
The map function has a tick box for "Auto-switch floor plan" which is working great for me. I'd like to know how I can use that value to drive other components of the skin:

Thumbnail cloner - filter based on currently active floor
Highlight my floor buttons - based on currently active floor

I achieved most of this through the buttons I have setup for selecting different floors, the main hangup I have had so far is that using the Next and Previous hotspot buttons will navigate to a new floor (even if the thumbnails are filtered by floor), and my floorplan will change properly but my thumbnail filter/button highlight does not update.

As another option - how would I go about having the next/previous buttons be constrained to the currently filtered thumbnails based on floor?

Re: Placeholder for map level?

Posted: Wed Sep 11, 2019 9:50 pm
by MPotoka
My workaround so far to filter the thumbnails correctly, even when pressing "next" or "back" buttons has been this:

In the Skin Editor on tour node template, setup an action:

Active - set value - $(ui) - thumbnail cloner

Then I went in and copied the tag value (level1, level2, leve3, etc) into the User Information field for each pano.

Not ideal, but for the moment it works. Is their an easier way?

Re: Placeholder for map level?

Posted: Thu Sep 12, 2019 1:53 pm
by Hopki
Hi,
For the cloner, you need to use a Set Value Action to set the value of a tag.
This will then display the node images of all the panoramas with that tag.

If there was a place holder for tags, which one would it read?
A node can have many tags.

So, in this case, you are doing the right thing.
To speed up adding the tags to the User Data you can use the tour browser to select groups of nodes and then use the copy button.
You can then copy to only the selected nodes.

• Use the Tour Browser filter to only see nodes with that tag
• Select Control + A (PC) or Command + A (Mac) to select all the visible nodes
• Add the tag in the User Date text field you are going to use and then use the copy button
• Select Copy to selected nodes only

Repeat the above for all the other tags/nodes.

For the action, I would use:
Source: Node Changed
Action: Set Value
Value: $(us) (I'm using the source user data text field)
Target: thumbnail_cloner

I would put this in the container: button_silhouette_next_previous
I am using the Silhouette Next and Previous button component.

Regards,
Hopki

Re: Placeholder for map level?

Posted: Thu Sep 12, 2019 9:36 pm
by MPotoka
Right - I get that the placeholder for a tag wouldn't work well. However there is some built in function for the Tour Map that knows which floor plan a particular tour node is on. That is the value I was trying to capture/use elsewhere

Re: Placeholder for map level?

Posted: Fri Sep 13, 2019 11:33 pm
by Hopki
Hi,
The map element just changes maps depending on the active node and is done internally.
There is no data/placeholders involved so nothing you can use in the skin.
Using the User Data is the way to go.
Regards,
Hopki