HomefieldOfView | SPi-V dev

Navigation

user

Adding hotspot text layers?

Hi,

How can I add hotspot text content?

Sam

** ADMIN: moved to general discussion **

Please elaborate...

Could you elaborate on what exactly you are trying to achieve? How and where should text appear?

A <layer> node can consist of either an image or a text. You can use the layer in a panoelement and/or a uielement.

Hotspot labeling

Hi Aldo,

I am trying to give a floating hotspot text label every time a hotspot is revealed in the window by the mouse-over event (hover).

Is there any way I can label each hotspot and show it as a text layer along with the hotspot circle like in the hishhorn gallery.

Sam

More than one way

There are a couple of different ways to do what you are trying to do. In the hirshhorn demo, I am using a single image node for all the hotspots. Instead, you could give each node an image node of its own, including your text in the hover layer image.

Alternatively you can set up a second panoelement for each hotspot, and set its visible property to true or false when you enter or leave the hotspot panoelement using a behavior and two actions. Writing this I realise I really have to update the documentation on those nodes...