You are not logged in.

image360

Intermediate

  • "image360" started this thread

Posts: 215

Location: Austin, TX and Chicago, IL

Occupation: Photographer

  • Send private message

1

Thursday, September 12th 2013, 1:27am

Image hotspots, not positioning the same way.

I'm trying to overlay two hotspots that will keep their relative position to each other and the tour as the user mouses around.

The first hotspot is a info screen, the second is a arrow to move to the next that overlays the info screen. The problem I'm having is the info screen is moving in relation to the pano when the pano view is changed, while the arrow is acting more like a poly hotspot and staying in place. Whats the key to controlling this behavior? Move or not move in relationship to the pano?

Here's the code for both.

<hotspot name="hs1a" url="lobby_1.png"
ath="-73.4" atv="-0.7"
zorder="2" width="900" height="476" scale="0.50"
alpha=".95"
visible="true"
zoom="false" distorted="false" flying="0"
align="righttop" edge="righttop"
/>

<hotspot name="hs1c" url="right-arrow.png"
zorder="4" width="30" height="36"
ath="-86.0" atv="15.0" edge="righttop" scale="0.50" alpha=".95"
zoom="false" distorted="false" flying="0"
/>

This has been tested on 1.6.3, just downloaded 1.6.7 but don't see anything that would say this was a bug.

Robert

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Thursday, September 12th 2013, 9:38am

Make the arrow a plugin and set its parent to the hotspot .
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

image360

Intermediate

  • "image360" started this thread

Posts: 215

Location: Austin, TX and Chicago, IL

Occupation: Photographer

  • Send private message

3

Thursday, September 12th 2013, 7:30pm

thanks

thanks sacha, been a long time since I had to do any coding in KR