You are not logged in.

1

Tuesday, March 22nd 2011, 3:07am

How to disable Android Zoom or "pinch"

I know that the two finger zoom or pinch does not work on Android with panoramas. Is there a way to disable this interaction? I tried the following code, but it doesn't work:


<meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' />
<meta name="viewport" content="width=device-width" />

I prefer something that allows me to use the same code on an iPhone, which the two finger zoom works fine on.

Thanks,

Loren

2

Tuesday, March 22nd 2011, 10:30pm

Hi,

try:

Source code

1
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />


or see the html files from the krpano examples/templates,

best regards,
Klaus