You are not logged in.


Saturday, April 29th 2017, 9:23am

Keeping hotspots at the edge of the screen

Hi , and sorry if this was asked before , but i couldn't find a possible duplicate.
Is there a way to keep the hospots that are out of current viewport to the edge of the screen? Similar functionality (with different tech of course)!B…61614524348681/ .
I suppose the krpano viewer autohides the hotspots when they are off the viewport , is there a way to overcome this ( like a minimum x or minimum y function) ?
Thanks in advance



Posts: 3,208

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message


Monday, May 1st 2017, 11:57am


i think something like this could be made.
I would try with 'spheretoscreen' and 'screentosphere' and some logic.
When i have time i will try to make a small example. Interesting feature i think.

Hope it helps,
Tuur *thumbsup*


Monday, May 1st 2017, 9:51pm


Hi and thank you for taking the time to answer me.
The way i am trying to implement it is somehow simillar , since i have created a child element ( css3d and distorted) , this is the only way i know how to interact directly with any hotspot via js. I am trying to monitor the child's position at all times and keep it in boundaries , but i am not sure if this is a correct approach , and of course i haven't been succesfull so far.
If i finally make this i will share what i get.
Thanks again



Posts: 498

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message


Tuesday, May 2nd 2017, 9:08am

This was first used in this tour, and is in my list of things to do since very long step beyond 360