You are not logged in.

1

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) http://clients.nexpics.com/bdz/onair/#!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

Tuur

Sage

Posts: 3,208

Location: Netherlands

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

  • Send private message

2

Monday, May 1st 2017, 11:57am

Hi,

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*
http://www.virtualtuur.com
Skype:studiotuur

3

Monday, May 1st 2017, 9:51pm

Thanks

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

jordi

Intermediate

Posts: 498

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

4

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

https://nightwalk.withgoogle.com/en/home
everpano.com step beyond 360