You are not logged in.

1

Thursday, November 28th 2013, 2:23pm

How to get a position KRPANO VIEWER is displaying now

Thank you for advice!

Following is about iOS(HTML5)Viewer:

I want to register to Favorites zoom position of the panorama viewing.
and
I want to re-start the panorama from the position of favorite.

Question.1
I want to know how to get the position data. (zoom level value and X,Y ? coordinate value)
Panoramic views I have seen just now.

Question.2
Use the value I got, I want to restart the panoramic view.
Which one should I work in XML functionality?

Regards
mawagon

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Thursday, November 28th 2013, 4:21pm

Hi!
get current view:

<events
onviewchange="showlog(true);trace(view.hlookat);trace(view.vlookat);trace(view.fov);"
...
/>


http://krpano.com/docu/xml/#view.hlookat


You cab get current view values now.

Andrey.

PS to set start vew - simple setup vew tag for each scene/pano with values you get.
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

3

Thursday, November 28th 2013, 6:33pm

Thank you Andrey!

I was able to get a clues of solution.

Regards,
mawagon

Similar threads