Sie sind nicht angemeldet.

1

Freitag, 10. April 2009, 19:32

Javascript lookat information

Hi Klaus,

When i worked with ptviewer, i can activate a feature that give me the 3 angles (h-angle, v-angle,fov) (via js) all the time, when the pano rotates:

Quellcode

1
2
3
function getView(p,t,f) { 
... 
}


How can i get the lootat information in runtime?
My idea is to make an javascript radar for my image map.

Thank your so mutch for your help.
myky

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

2

Freitag, 10. April 2009, 19:38

Krpano includes an example folder, inside you can find this example

http://krpano.com/examples/javascript2/

it will give you all that you need :)

Good luck

3

Sonntag, 12. April 2009, 02:04

Hello Shanti,

Thanks for your anwser, it helps me!!!!

myky