Page 1 of 1

Tooltip and hotspots

Posted: Mon Jun 17, 2019 6:06 am
by edgar_ali
I have got a couple of questions regarding tooltips and hotspots:

Currently I am using poligon hotspots to show information.

Here is a screenshot of an example of a hotspot and the information I provide:
Picture 1


In picture 1 you can see that when I roll the mouse over the hotspot, there appears the tooltip (which is the title of the hotspot, in this case it reads: Test). Then in picture 2 you can see that when I click on the hotspot, appears the content of the hotspot (in this case it reads: this is a test).

The first question is:
I would like the tooltip to be only the characters (letters) without the square that possible?

I tried doing this by disabling the background of the square and setting the alpha channel to 0 in the skin, but this did not work, I am still able to see the white square.

So not sure how to do it...

Second question:

My skin has a button, that when click it shows all the polygon hotspots in the tour. I was wondering if it was possible that when I click that botton, in addition to show the hotspots in the tour, it also shows all the titles of the hotspots (tooltips) in the tour, then when you click the hotspot, you will see the content of the hotspots.

The button that I used to show the hotspots has the following design:

So it would be like picture 1, but without hovering the mouse over the hotspots.

Another example would looks like this (picture 3):

Picture 3:

In picture 3 the lines would be the poligon hotspots and the numbers (i.e.: 8b+, 9a, etc) would be the tooltip (the title of the hotspot)

Is it possible to achieve that?

The third question I've got is this:
I want to include in my skin a hotspot (point) to show information. Currently I only have a polygon hotspots to show information and a point hotspot as tour node.

So I went into the component toolbox and copied a component (information popup simplex) into my skin. when copying this item, I get a message saying:
The component needs to add a variable (vis_info_popup) which is already defined in your skin.
Do you want to rename the variable in the component or let it use the variable in your skin?
I tried renaming the variable and also using the variable in my skin, however when I introduce the ht_info, this convert all the other hotspots (point) to ht_info.

So i do not know how to separate the tour node and the info hotspots so they work properly. Attached is a photos of what happens when I introduce the ht_info:

as you can see there are two info hotspots, however one of them is supposed to be a tour node to travel to another panorama.

Any help with this?

I am attaching my skin and the file for this tour in case you need them.

Re: Tooltip and hotspots

Posted: Mon Jun 17, 2019 1:25 pm
by xi4
1. You have not disabled the text prompt.
2. On the contrary, I set out to untie the polygons from each other) I do not know the answer to this question)
3. Each hotspot should be a separate variable.

Re: Tooltip and hotspots

Posted: Tue Jun 18, 2019 3:10 am
by edgar_ali

Thanks a lot for your reply...

I was able to disable the hotspot background by going into the output panel, then into the hotspot tab and un-ticking the background and border.. Thanks for that.

Regarding my second question: I still would like to know if it is possible to show the tooltips together with the poligon hotspots, once you activate the view /turn them on with the button located in the control panel. In other words I would like to see the tooltips without hovering over the polygon hotspots.

Regarding my third question: I have defined two different variables:
vis_info_popup_1 for the ht_info hotspot and
vis_info_popup_2 for my tour node

However the tour still is getting two info hotspots instead of a tour node and info hotspot...

Any help will be greatly appreciated.

Re: Tooltip and hotspots

Posted: Tue Jun 18, 2019 6:33 am
by xi4
In the skin that I attached to the previous answer, everything works. Pay attention to this item.
Ошибка пано.png
Ошибка пано.png (128.33 KiB) Viewed 4017 times

Re: Tooltip and hotspots

Posted: Tue Jun 18, 2019 12:47 pm
by edgar_ali

Thanks again for pointing me in the right direction..I was not assigning the proper skin-ID to the hotspot and therefore both were info hotspot...

Now I have two different hotspots, one for Tour node and another one for information...

So it is working thanks... :D

The only question left is how can I turn on the polygon hotspot and at the same time activate or turn on the tooltip so it is shown/visible when you activate the polygon hotspot..

If someone has an idea how to do this, I would really appreciate the help.

The details of what I would like to do is in the first post.

Re: Tooltip and hotspots

Posted: Tue Jun 18, 2019 5:39 pm
by xi4
In general, after the experiments, I managed to achieve such a result (screen 1)
Ошибка пано2.png
Ошибка пано2.png (122.37 KiB) Viewed 3999 times
But, these are not polygon tips, they are separate hotspots. Although outwardly, they look like what you need.
It works like this. In the skin there is ht_VIP, there are three pictures in it. Each picture has its own code, this code you enter in the description of the hotspot. The screen and the skin in the application, I think you will go through.
Ошибка пано.png
Ошибка пано.png (180.64 KiB) Viewed 3999 times

Re: Tooltip and hotspots

Posted: Wed Jun 19, 2019 1:14 pm
by edgar_ali
Mate thanks again for that information..

I tried your skin and this is what I experienced:
  • Once I launch the tour I can se the "tooltips" V1, so I have to click the button to disable it and then when I click again it work properly.
  • I Also has got a question: does it mean that for every tooltip that I want to create, I need to create a text field with the information (text) that I want to display???..So if I've got a list like this: 5; 5a;5a+; 6; 6a, 6b,6c, 6c+, then I have to create 8 text fields, each containing each number???
The only critical issue that I am experiencing is the fact that when I launch the tour, thee 'tooltip is should only be on when I click on the control bar

As you can see in this video:

The tooltip is displayed as soon as you launch the tour..that is not ideal..

Any ideas to fix this?

Any other suggestion on how to do this without having to create a text field for every tooltip?

Thanks again for all the support, I really appreciated.

Re: Tooltip and hotspots

Posted: Wed Jun 19, 2019 1:33 pm
by xi4
How to do it differently, I do not know.
Yes, if you need 8 points, then create 8 different images.
If you need to hide the hint when opening the tour, just turn off its visibility ;-))
Ошибка пано.png
Ошибка пано.png (150.24 KiB) Viewed 3972 times
The bottom line is that you can choose the images you need, paint the background, paint the font. It seems to me in your case that is important), although I could be wrong)
I do not know English. Everything translates Google. Not the fact that he does it right)))

Re: Tooltip and hotspots

Posted: Sun Jun 30, 2019 6:56 am
by edgar_ali

I am having an issue, if I untick "visible", then when I hit the button to show the polygon hotspot, the tooltip (ht_VIP) dissapear, then if I click the button to hide the polygon hotspot, the tooltip appears again, it is not synchronised...can you help with this?..

Check out this video:

any ideas why is this?

Re: Tooltip and hotspots

Posted: Fri Aug 02, 2019 2:31 am
by edgar_ali
I was able to resolve the synchronization of the tooltip and poligon hotspot by selecting "Always Visible" in the dropdown list that is located in the tab for Polygon Hotspots (output). Now when you open the tour, both, the tooltip and polygon hotspot are visible, then you can turn them on&off at the same time.

The question still remain if there is another way of making the tooltip visible together with the polygon hotspot without creating another item in the skin. This would be an improvement. The current method works but it is additional work.

Re: Tooltip and hotspots

Posted: Sat Aug 24, 2019 2:31 pm
by xi4
The irony of fate, I now needed to do something similar)) I will experiment and look for an easier way) You can throw off the link to your project, I'll see how it looks)

Re: Tooltip and hotspots

Posted: Fri Aug 30, 2019 3:47 am
by edgar_ali
As soon as I have it ready I will post a link for the project in this post...

Thanks for replying

Re: Tooltip and hotspots

Posted: Mon Sep 02, 2019 9:40 pm
by Hopki
Hi Guys,
Maybe too little too late, but here is a 6.1 beta project that uses the poly hotspot to open a popup.
For the Polys I am using Disable and Show All.
The Disable also makes the poly inactive so no active areas. Show all does what it says.
How it works is all the Polys have the ID info.
There is a container in the skin with the ID: PolyHotSPot.
This has all the actions to read the hotspots title and description text for the popups title and information body text.
I have used the button to switch the Poly Hotspots between Disabled and Show all, as you click ShowPolyHotSpotShow, it shows all and shows the button above it, ShowPolyHotSPotHide.
Note the default for ShowPolyHotSpotHide is not visible.

Re: Tooltip and hotspots

Posted: Wed Oct 02, 2019 4:54 am
by edgar_ali
I have just finished the example for the tooltips and the polygon hotspots...

If you go to:

You can check out Fear Factory (from the 3rd panorama onwards), that is where the examples are..