Sie sind nicht angemeldet.

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

1

Montag, 29. Februar 2016, 03:29

Stop action on ZOOMING

Hi folks,

We're working with a project which involves lots of hi res FLAT PANOS mixed with SPHERICALS, we have an icon animation to indicate user that zooming is possible when flat panos are loaded but we want to stop it when user has already begun zooming. Right now we're having troubles with the second, tried to use ONVIEWCHANGE and ONVIEWCHANGED to stop animation but they get triggered when entering the FLAT scene. ¿Any ideas on this? it seems an easy task just to trigger an action when user zooms but we're stuck with it.

Many thanks on advance.

Cheers! *thumbsup*

Luis

2

Montag, 29. Februar 2016, 10:35

Hi,

either use the onmousedown event to check when the user has started navigating in the pano or track the view.fov value like shown here:
onviewchange keeps firing when not moving

Best regards,
Klaus