Set tooltip above Point spot   [SOLVED] - View the solution

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
solarisx
New member
 
Topic author
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Fri Jul 14, 2017 5:01 pm
Info

Set tooltip above Point spot

by solarisx » Thu Aug 10, 2017 2:06 pm

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

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Set tooltip above Point spot

by Annis » Thu Aug 10, 2017 4:33 pm

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/

no avatar
solarisx
New member
 
Topic author
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Fri Jul 14, 2017 5:01 pm
Info

Re: Set tooltip above Point spot

by solarisx » Fri Aug 11, 2017 11:53 am

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

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Set tooltip above Point spot

by Annis » Fri Aug 11, 2017 1:05 pm

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.

no avatar
solarisx
New member
 
Topic author
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Fri Jul 14, 2017 5:01 pm
Info

Re: Set tooltip above Point spot

by solarisx » Mon Aug 14, 2017 11:27 am

Thanks Annis,

maybe another one knows this?

Thanks in advance

no avatar
benji33
Kolor Team
 
Posts: 5848
Likes: 92 posts
Liked in: 199 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Set tooltip above Point spot  [SOLVED]

by benji33 » Wed Aug 23, 2017 1:54 pm

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);
Benjamin

Annis likes this post.


Who is online

Users browsing this forum: No registered users and 4 guests