Page 1 of 1

Hotspot scaling on flat panos

PostPosted: Tue Aug 14, 2018 4:59 am
by signmaster
Hi All
Panotour Pro does not scale hotspots when using a flat pano. Is there a solution or workaround for this?

Steve

hotspot scale.jpg

Re: Hotspot scaling on flat panos

PostPosted: Tue Aug 14, 2018 7:02 am
by signmaster
I have asked this a while back, just following up, perhaps someone can do some custom programming or there may be a workaround of some type?

Steve

Re: Hotspot scaling on flat panos

PostPosted: Mon Sep 03, 2018 11:55 am
by benji33
Hello,
krpano player is not able to link the zoom value with flat panoramas.
Why? Because flat panoramas are not flat but used a sphere with less than 1° fov.
So with zoom activated the icon use all the space.
It's why Panotour deactivate the zoom attribute on flat panoramas.

A possible solution is to define a size for your hotspot and remove the Panotour limitation.
How to do?
- Edit the YOURTOURNAME.xml file and add width="0.2" and height="0.2" attributes to the selected spot into the specified scene. (these values must be changed for your own scene)
- Edit the YOURTOURNAME_skin.xml file and remove the if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false););); string from the onloaded attribute of the hotspot style linked to the hotspot.