Icon image for different flyout image

  • Hello krpano friends, I would like to have a camera icon to click on in the pano but have a different image flyout (not the camera icon). Here's the code I am using but it only shows the smaller version of the flyout image:

    <style name="flyoutimage"
    distorted="true"
    backup_rx="0"
    backup_ry="0"
    backup_rz="0"
    backup_scale="0"
    backup_zorder="0"
    flying="0.0"
    flystate="0"
    onclick="if(flystate == 0, flyout_by_name(get(name)), flyback_by_name(get(name)) );"
    />

    <hotspot name="spot1" style="flyoutimage"
    url="stairs.jpg"
    zorder="1"
    ath="220"
    atv="-5"
    scale="0.1"

    />

    <hotspot name="spot2" style="flyoutimage"
    url="kitchen.jpg"
    zorder="2"
    ath="60"
    atv="-10"
    scale="0.1"

    />

    Thanks!

  • I am not familiar with the style tags, so, not sure what is going on here. From what i see, you'll have to change the value of flystate. Not sure if it is possible, but something like

Jetzt mitmachen!

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