Sie sind nicht angemeldet.

1

Dienstag, 19. Oktober 2010, 21:50

getting coordinates

Hi guys

wow, I'm finally sortoff getting this...

Just one question, actually kindoff 2. The actions that I set in my xml file, how do I actually use that? I know it sounds stupid, but do I call it from my html page with java or what? I urgently need to figure out how I can capture the current coordinates of the view and send it via a post to php.



I hope that I will also soon be able to help someone else!



Thanks in advance

2

Mittwoch, 20. Oktober 2010, 07:17

Read up on javascript interface. You can get the details using the javascript interface and send them to the php script using ajax.

3

Mittwoch, 20. Oktober 2010, 13:17

Thanks srida



I looked at those examples and it did help quite a bit. Just one line of code I'm battling to figure out...what is the view.vlookat frefering to???

Quellcode

1
var vlookat = Number( krpano().get("view.vlookat") );