|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
<krpano version="1.0.8.14" onstart="startup();">
<include url="xml/actions.xml" keep="true"/>
<include url="xml/jaddress.xml" keep="true"/>
<include url="xml/plugins.xml" keep="true"/>
<include url="xml/style.xml" keep="true"/>
<include url="xml/bingmap.xml" keep="true"/>
<include url="skin/androidskin.xml" devices="android+flash" />
<!--************** Kontextmenü ****************************************************************-->
<contextmenu>
<item name="item_0" caption="© 360Grad-Touren.de" onclick="openurl(http://www.360Grad-Touren.de)"/>
<item name="normal_view" caption="Normalansicht" onclick="action(actionviewnormal)" separator="true"/>
<item name="fisheye_view" caption="Fisheye-Ansicht" onclick="action(actionviewfisheye)"/>
<item name="architectural_view" caption="Architektonische Ansicht" onclick="action(actionviewarchitectural)"/>
<item name="stereographic_view" caption="stereographische Ansicht" onclick="action(actionviewstereographic)"/>
<item name="pannini_view" caption="Pannini-Ansicht" onclick="action(actionviewpannini)"/>
<item name="little_planet_view" caption="Ansicht kleiner Planet" onclick="action(actionviewlittleplanet)"/>
</contextmenu>
<!-- disable the default progress bar -->
<progress showload="true" showwait="true" />
<action name="startup">
<!-- instead of using "loadscene" to load the first scene, use the action ja-start(). This will get the scene from the URL or, if none is defined, load the scene passed in the first parameter.
THIS IS ONLY FOR THE FIRST SCENE LOAD! Afterwards, you can use loadscene() as usual -->
<!--loadscene(get(scene[0].name), null, MERGE);-->
ja-start(get(scene[0].name));
activateSpot(get(xml.scene));
</action>
<events name="mapchange" keep="true" onnewpano="activateSpot(get(xml.scene))"/>
<action name="activateSpot">
plugin[panotourmaps].activatespot(%1);
plugin[panotourmaps].pantospot(%1);
</action>
<scene name="scene_001" title="001" onstart="" thumburl="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="2.0" fovmin="60" fovmax="120" limitview="auto" />
<preview url="panos/001.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="555" progressive="false">
<level tiledimagewidth="3051" tiledimageheight="3051">
<cube url="panos/001.tiles/l3_%s_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1526" tiledimageheight="1526">
<cube url="panos/001.tiles/l2_%s_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="763" tiledimageheight="763">
<cube url="panos/001.tiles/l1_%s_%0v_%0h.jpg" />
</level>
<mobile>
<cube url="panos/001.tiles/mobile_%s.jpg" />
</mobile>
<tablet>
<cube url="panos/001.tiles/tablet_%s.jpg" />
</tablet>
</image>
<!-- place hotspots here -->
<hotspot name="spot1" style="hotspot_ani_white"
ath="185"
atv="0.9"
zoom="false"
onhover="showtext(Föhringer Alle in Richtung Süden,tooltip)"
onclick="mainloadscene('scene_002')"
/>
<hotspot name="spot2" style="hotspot_ani_white"
ath="-91.21"
atv="0.29"
zoom="false"
onhover="showtext(Hofäckerallee Ecke Voglbachlweg,tooltip)"
onclick="mainloadscene('scene_016')"
/>
</scene>
<scene name="scene_002" title="002" onstart="" thumburl="">
.
.
.
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »mstoss« (13. Juni 2013, 14:42)
|
|
Quellcode |
1 2 3 4 5 |
<events name="reset-progress" keep="true" onxmlcomplete="set-progress"/>
<action name="set-progress">
set(progress.showload, bar());
set(progress.showwait, none);
</action>
|