Nadir image on iPad

  • What code are you using? This works for me.


    <hotspot name="nadirlogo"
    url="nadir.png"
    preload="true" ath="0"
    keep="true" atv="90" distorted="true"
    scale="1" rotate="0.0"
    />

    At least I know it works on the iPhone.

  • This is the start of my tour.xml, I added compass.xml in the skin directory
    and it all works fine on desktop but fails to load in iPad??

    <krpano version="1.0.8.15" title="Crescent Gage" onstart="startup();">

    <include url="skin/vtourskin.xml" />

    <include url="skin/compass.xml" />

    <!-- set skin settings: bingmaps? gyro? -->
    <skin_settings bingmaps="false" bingmaps_key="" bingmaps_zoombuttons="false"
    gyro="true"
    thumbsopened="true"
    tooltips_thumbs="true" tooltips_hotspots="true" tooltips_mapspots="true"
    controlbar_offset="20"
    />

    <!-- set optional skin logo url -->
    <layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />


    <action name="startup">
    if(startscene === null, copy(startscene,scene[0].name));
    loadscene(get(startscene), null, MERGE);
    </action>


    Here is the compass.xml

    <krpano version="1.0.8.15">

    <!-- events - update logo rotation with pano rotation -->
    <events name="nadirlogo_automatic_rotation" keep="true"
    onviewchange="copy(hotspot[nadirlogo].rotate, view.hlookat);"
    />

    <!-- nadir logo (distored hotspot) -->
    <hotspot name="nadirlogo" keep="true"
    url="cglogo.png"
    ath="0"
    atv="90"
    distorted="true"
    keep="true"
    scale="0.4"
    rotate="0.0"
    rotatewithview="true"
    onclick=" "


    />

    </krpano>

Jetzt mitmachen!

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