You are not logged in.

Dear visitor, welcome to 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.


Wednesday, September 23rd 2015, 9:23pm

Center point of zoom should be between fingers

When using the HTML5 viewer on a touch device (tested on iPhone and a Windows 7 touch screen), zoom gestures are performed by spreading two fingers apart. On consumer touch devices (iPad, etc), this zoom gesture is used in photos and mapping applications, and the zoom is centered at the midpoint between the two fingers, so that at the end of the zoom you're looking at a crop of the image that you had at the beginning of the zoom. The center of the zoom in the krpano viewer is unclear, and seems to change during the zoom gesture.

Here is a video of the desired behavior, using a different viewer from krpano:

Here is the krpano behavior:

It there any way to improve this? We are using the 1.18.5 HTML Viewer.


Thursday, September 24th 2015, 6:40am


just enable the zoomtocursor control setting:


Source code

<control zoomtocursor="true" />

Best regards,


Thursday, September 24th 2015, 5:27pm

Thank you!


Thursday, October 1st 2015, 11:23pm

Related to those settings: does fovfriction or touchfriction have any effect on the HTML5 player? I'm having trouble noticing any difference if I set them to zero.


Thursday, October 8th 2015, 8:01am


the fovfriction setting effects only mouse or keyboard or button zooms,
and the touchfriction setting the friction in the drag2d control mode.

Best regards,