You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, July 30th 2019, 8:19am

onviewchanged

Hi. When I change the view with the mouse, the onviewchanged event called. And when I change the view with code:

this.krpano.set('view.hlookat', hlookat);
this.krpano.set('view.vlookat', vlookat);
this.krpano.set('view.fov', fov);

The onviewchanged event also called.
Is it possible to disable the event when the view changed through the code. Or how can I tell them apart?