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

  • Hi,

    try:

    Code
    <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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!