Page 1 of 1

Set tooltip above Point spot

PostPosted: Thu Aug 10, 2017 2:06 pm
by solarisx
Hi

How to set the text of the tooltip above the Point spot. Per default the text is below the Point spot.

Thanks in advance

Re: Set tooltip above Point spot

PostPosted: Thu Aug 10, 2017 4:33 pm
by Annis
Hello and welcome to the forum,

Have a look at this user tutorial, the last section "3 CUSTOMIZED DISTANCE BETWEEN THE HOTSPOT AND THE TOOLTIP"
http://360cityguides.com/2016/03/28/pan ... d-tooltip/

Re: Set tooltip above Point spot

PostPosted: Fri Aug 11, 2017 11:53 am
by solarisx
Thanks Annis

I tried to set the yoffset from layer "panotourTooltipDefaultText" after the build. This does not work. Changing the color has no effect too.

I am using a modified Point Style which I saved in my library. The tooltip rule for desktop is "Permanent". May be there is another layer than the "panotourTooltipDefaultText" used? Any idea?

Greets

Re: Set tooltip above Point spot

PostPosted: Fri Aug 11, 2017 1:05 pm
by Annis
Those are for normal hover tooltips.

Permanent tooltip's settings are just above it. So you'd have to change the alignment (from bottom to top) and see if you can add offset, but it looks like it will require much more extensive editing of the code than just the offset and unfortunately I don't understand this code enough to tell you precisely what to edit.

Re: Set tooltip above Point spot

PostPosted: Mon Aug 14, 2017 11:27 am
by solarisx
Thanks Annis,

maybe another one knows this?

Thanks in advance

Re: Set tooltip above Point spot  [SOLVED]

PostPosted: Wed Aug 23, 2017 1:54 pm
by benji33
You can try to replace showPermanentTooltip(all); actions into the xml (yourtour.xml, yourtour_skin.xml and yourtour_core.xml files) by showPermanentTooltip(all,top,bottom);