|
|
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
<krpano version="1.18" title="City Center" onstart="startup();">
<include url="skin/vtourskin.xml" />
<!-- set skin settings: bingmaps? gyro? thumbnails? tooltips? -->
<skin_settings maps="false"
maps_type="bing"
maps_bing_api_key=""
maps_zoombuttons="false"
gyro="true"
title="true"
thumbs="true"
thumbs_width="120" thumbs_height="80" thumbs_padding="10" thumbs_crop="0|40|240|160"
thumbs_opened="false"
thumbs_text="false"
thumbs_dragging="true"
thumbs_onhoverscrolling="false"
thumbs_scrollbuttons="false"
thumbs_scrollindicator="false"
thumbs_loop="false"
tooltips_thumbs="false"
tooltips_hotspots="false"
tooltips_mapspots="false"
loadscene_flags="MERGE"
loadscene_blend="BLEND(0.5)"
controlbar_offset="20"
/>
<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />
<textstyle name="hotspottextstyle"
font="Verdana" fontsize="14" bold="false" italic="false" textcolor="0xFFF7EF" background="false" border="false"
alpha="1" blendmode="layer" effect="glow(0x000000,0.5,4,3);dropshadow(4,45,0x000000,4,0.66);"
origin="cursor" edge="bottom" textalign="center" xoffset="0" yoffset="-3" noclip="true" showtime="0.1" fadetime="0.25" fadeintime="0.1"
/>
<events onloadcomplete="set(autorotate.enabled,true);" />
<autorotate enabled="false" waittime="2.0" accel="1.5" speed="4" horizon="0" />
<!-- events - update logo rotation with pano rotation -->
<events name="nadirlogorotation"
onviewchange="if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate,get(view.hlookat)) );"
/>
<action name="startup">
if(startscene === null, copy(startscene,scene[2].name));
loadscene(get(startscene), null, MERGE);
</action>
<scene name="scene_CityCenter_1_OG" title="1.OG" onstart="" thumburl="panos/CityCenter_1_OG.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0.000" vlookat="0.000" fovtype="MFOV" fov="120.000" maxpixelzoom="1.3" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/CityCenter_1_OG.tiles/preview.jpg" />
<image>
<cube url="panos/CityCenter_1_OG.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/CityCenter_1_OG.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<!-- nadir logo (distored hotspot) -->
<hotspot name="nadirlogo"
url="skin/citycenter.png"
ath="106.881"
atv="87.298"
distorted="false"
scale="1.1"
rotate="0.0"
rotatewithview="false"
onclick="switch(rotatewithview); invalidatescreen();"
/>
<hotspot name="spot2"
style="skin_hotspotstyle"
onhover="showtext('Zugang EG',hotspottextstyle);"
ath="30.484" atv="11.522"
rotate="120.0"
onover="set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);"
linkedscene="scene_citycenter_janineb"
/>
<hotspot name="spot3"
style="skin_hotspotstyle"
onhover="showtext('Ausgang Parkdeck',hotspottextstyle);"
ath="174.763" atv="16.799"
linkedscene="scene_citycenter_parkdeck"
rotate="-90"
onover="set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);"
/>
</scene>
<scene name="scene_CityCenter_JanineB" title="JanineB" onstart="" thumburl="panos/CityCenter_JanineB.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.3" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/CityCenter_JanineB.tiles/preview.jpg" />
<image>
<cube url="panos/CityCenter_JanineB.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/CityCenter_JanineB.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_CityCenter_Parkdeck" title="Parkdeck" onstart="" thumburl="panos/CityCenter_Parkdeck.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.3" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/CityCenter_Parkdeck.tiles/preview.jpg" />
<image>
<cube url="panos/CityCenter_Parkdeck.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/CityCenter_Parkdeck.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<hotspot name="spot2"
style="skin_hotspotstyle"
ath="59.326" atv="-1.419"
rotate="115.0"
onhover="showtext('Eingang 1.OG',hotspottextstyle);"
onover="set(autorotate.enabled,false);" onout="set(autorotate.enabled,true);"
linkedscene="scene_citycenter_1_og"
/>
</scene>
</krpano>
|
Benutzerinformationen überspringen
Wohnort: Berlin
Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )
Benutzerinformationen überspringen
Wohnort: Berlin
Beruf: Software-Entwickler bei VR-Easy ( HTML, JS, PHP, krpano, C++, Java )