You are not logged in.

1

Friday, April 10th 2009, 7:32pm

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:

Source code

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

Intermediate

Posts: 301

Location: Puerto Vallarta

Occupation: Web Developer

  • Send private message

2

Friday, April 10th 2009, 7:38pm

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

Sunday, April 12th 2009, 2:04am

Hello Shanti,

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

myky