Maxpixelzoom doesn.t work using standard hotspot

  • Hello,

    I have different maxpixelzoom parameter in different panos. It works when in change them from thumbnails but it doesn`t work when a navigate using standard hotspot and 3d transitions. How to solve this problem?

    I tried to change the loadscene_flags parameter in vtourskin but it doesn`t work


    regards,

    Maciek

  • Sferix 6. Dezember 2023 um 15:50

    Hat den Titel des Themas von „Maxpixelzoom doesn.t work using standard hotspot to change pano“ zu „Maxpixelzoom doesn.t work using standard hotspot“ geändert.
    • Offizieller Beitrag

    Hi,

    when using 3d transitions, the KEEPVIEW and KEEPMOVING flags are automatically added - and they cause that the view.maxpixelzoom setting is kept when loading new panos.

    Here some code to use different maxpixelzoom settings also in this case - and it also tweens the current maxpixelzoom value to avoid abrupt changes during the transition:

    Code
    <events name="maxpixelzoom" keep="true"
            onxmlcomplete="tween(view.maxpixelzoom, get(xml.view.maxpixelzoom));" 
            />

    Best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!