service.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <krpano version="1.19" title="">
  2. <include url="skin/vtourskin2.xml" />
  3. <!-- <include url="pano_pos.xml" /><events keep="true" name="showpos" onviewchange="show_pos()"/> -->
  4. <!-- customize skin settings: maps, gyro, webvr, thumbnails, tooltips, layout, design, ... -->
  5. <skin_settings maps="false"
  6. maps_type="google"
  7. maps_bing_api_key=""
  8. maps_google_api_key=""
  9. maps_zoombuttons="false"
  10. gyro="true"
  11. webvr="true"
  12. webvr_gyro_keeplookingdirection="false"
  13. webvr_prev_next_hotspots="true"
  14. littleplanetintro="false"
  15. title="true"
  16. thumbs="true"
  17. thumbs_width="140" thumbs_height="90" thumbs_padding="10" thumbs_crop="0|40|240|160"
  18. thumbs_opened="false"
  19. thumbs_text="true"
  20. thumbs_dragging="true"
  21. thumbs_onhoverscrolling="false"
  22. thumbs_scrollbuttons="false"
  23. thumbs_scrollindicator="false"
  24. thumbs_loop="false"
  25. tooltips_buttons="false"
  26. tooltips_thumbs="false"
  27. tooltips_hotspots="false"
  28. tooltips_mapspots="false"
  29. deeplinking="false"
  30. loadscene_flags="MERGE"
  31. loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
  32. loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
  33. loadscene_blend_next="SLIDEBLEND(0.5, 0, 0.75, linear)"
  34. loadingtext="加载中..."
  35. layout_width="100%"
  36. layout_maxwidth="814"
  37. controlbar_width="-24"
  38. controlbar_height="40"
  39. controlbar_offset="20"
  40. controlbar_offset_closed="-40"
  41. controlbar_overlap.no-fractionalscaling="10"
  42. controlbar_overlap.fractionalscaling="0"
  43. design_skin_images="vtourskin.png"
  44. design_bgcolor="0x9f292d"
  45. design_bgalpha="0.8"
  46. design_bgborder="0"
  47. design_bgroundedge="1"
  48. design_bgshadow="0 4 10 0x000000 0.3"
  49. design_thumbborder_bgborder="3 0xD6B970 1.0"
  50. design_thumbborder_padding="2"
  51. design_thumbborder_bgroundedge="0"
  52. design_text_css="color:#FFFFFF; font-family:Arial;"
  53. design_text_shadow="1"
  54. />
  55. <!--
  56. For an alternative skin design either change the <skin_settings> values
  57. from above or optionally include one of the predefined designs from below.
  58. -->
  59. <!-- <include url="skin/vtourskin_design_flat_light.xml" /> -->
  60. <!-- <include url="skin/vtourskin_design_glass.xml" /> -->
  61. <!-- <include url="skin/vtourskin_design_ultra_light.xml" /> -->
  62. <!-- <include url="skin/vtourskin_design_117.xml" /> -->
  63. <!-- <include url="skin/vtourskin_design_117round.xml" /> -->
  64. <!-- <include url="skin/vtourskin_design_black.xml" /> -->
  65. <plugin name="soundinterface"
  66. url="plugins/soundinterface.swf"
  67. alturl="plugins/soundinterface.js"
  68. rootpath=""
  69. preload="true"
  70. keep="true"
  71. />
  72. <!-- startup action - load the first scene -->
  73. <action name="startup" autorun="onstart">
  74. if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
  75. loadscene(get(startscene), null, MERGE);
  76. <!-- playsound(bggsnd, 'bgm/bgm.mp3', 10) -->
  77. if(startactions !== null, startactions() );
  78. </action>
  79. <!-- <action name="hide_vtourskin_all" autorun="onstart">
  80. delayedcall(0.45,skin_hideskin());
  81. </action> -->
  82. <autorotate enabled="false"
  83. waittime="2.0"
  84. speed="10.0"
  85. horizon="0.0"
  86. />
  87. <events name="onautorotateevents" keep="true" onautorotateoneround="nextscene()"/>
  88. <action name="nextscene">
  89. autorotate.stop();wait(0);
  90. set(ns, get(scene[get(xml.scene)].index));
  91. set(maxs, get(scene.count));
  92. add(ns,1);
  93. if(ns == maxs, set(ns,0));
  94. loadscene(get(scene[get(ns)].name), null, MERGE, BLEND(1.5));
  95. autorotate.start();
  96. </action>
  97. <scene name="scene_service1" title="游客服务中心1" onstart="" thumburl="panos/service1.tiles/thumb.jpg" lat="28.20691278" lng="112.83789431" heading="0.0">
  98. <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
  99. <preview url="panos/service1.tiles/preview.jpg" />
  100. <image type="CUBE" prealign="0|0.0|0" multires="true" tilesize="512">
  101. <level tiledimagewidth="2624" tiledimageheight="2624">
  102. <cube url="panos/service1.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
  103. </level>
  104. <level tiledimagewidth="1280" tiledimageheight="1280">
  105. <cube url="panos/service1.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
  106. </level>
  107. <level tiledimagewidth="640" tiledimageheight="640">
  108. <cube url="panos/service1.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
  109. </level>
  110. </image>
  111. <hotspot name="spot1" atv="-2" ath="-5.5" style="biaoqian-2" onclick="openurl('./tour2.html?id=life-story', _self)"/>
  112. </scene>
  113. <scene name="scene_service2" title="游客服务中心2" onstart="" thumburl="panos/service2.tiles/thumb.jpg" lat="28.20683003" lng="112.83853031" heading="0.0">
  114. <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
  115. <preview url="panos/service2.tiles/preview.jpg" />
  116. <image type="CUBE" prealign="0|0.0|0" multires="true" tilesize="512">
  117. <level tiledimagewidth="2624" tiledimageheight="2624">
  118. <cube url="panos/service2.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
  119. </level>
  120. <level tiledimagewidth="1280" tiledimageheight="1280">
  121. <cube url="panos/service2.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
  122. </level>
  123. <level tiledimagewidth="640" tiledimageheight="640">
  124. <cube url="panos/service2.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
  125. </level>
  126. </image>
  127. <hotspot name="spot2" atv="0" ath="-10.0" style="biaoqian-2" onclick="openurl('./tour2.html?id=life-story', _self)"/>
  128. <hotspot name="spot4" atv="0" ath="-55.0" style="biaoqian-5" onclick="openurl('./tour2.html?id=volunteer', _self)"/>
  129. <hotspot name="spot3" atv="3.0" ath="-46.5" style="biaoqian-4" onclick="openurl('./tour2.html?id=statue', _self)"/>
  130. <hotspot name="spot5" atv="2" ath="-70.0" style="biaoqian-7" onclick="openurl('./tour2.html?id=tower', _self)"/>
  131. </scene>
  132. <scene name="scene_service3" title="游客服务中心3" onstart="" thumburl="panos/service3.tiles/thumb.jpg" lat="28.20678983" lng="112.83884492" heading="0.0">
  133. <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
  134. <preview url="panos/service3.tiles/preview.jpg" />
  135. <image type="CUBE" prealign="0|0.0|0" multires="true" tilesize="512">
  136. <level tiledimagewidth="2624" tiledimageheight="2624">
  137. <cube url="panos/service3.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
  138. </level>
  139. <level tiledimagewidth="1280" tiledimageheight="1280">
  140. <cube url="panos/service3.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
  141. </level>
  142. <level tiledimagewidth="640" tiledimageheight="640">
  143. <cube url="panos/service3.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
  144. </level>
  145. </image>
  146. <hotspot name="spot6" atv="0" ath="-12" style="biaoqian-2" onclick="openurl('./tour2.html?id=life-story', _self)"/>
  147. <hotspot name="spot8" atv="-2" ath="-60.0" style="biaoqian-5" onclick="openurl('./tour2.html?id=volunteer', _self)"/>
  148. <hotspot name="spot7" atv="3.0" ath="-56.5" style="biaoqian-4" onclick="openurl('./tour2.html?id=statue', _self)"/>
  149. <hotspot name="spot9" atv="1" ath="-81.5" style="biaoqian-7" onclick="openurl('./tour2.html?id=tower', _self)"/>
  150. </scene>
  151. <scene visible="false" name="scene_service4" title="游客服务中心4" onstart="" thumburl="panos/service4.tiles/thumb.jpg" lat="28.20695058" lng="112.83833486" heading="0.0">
  152. <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
  153. <preview url="panos/service4.tiles/preview.jpg" />
  154. <image type="CUBE" prealign="0|0.0|0" multires="true" tilesize="512">
  155. <level tiledimagewidth="2624" tiledimageheight="2624">
  156. <cube url="panos/service4.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
  157. </level>
  158. <level tiledimagewidth="1280" tiledimageheight="1280">
  159. <cube url="panos/service4.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
  160. </level>
  161. <level tiledimagewidth="640" tiledimageheight="640">
  162. <cube url="panos/service4.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
  163. </level>
  164. </image>
  165. <hotspot name="spot10" atv="-10.0" ath="38.0" style="biaoqian-2" onclick="openurl('./tour2.html?id=life-story', _self)"/>
  166. <hotspot name="spot11" atv="-10.0" ath="64.0" style="biaoqian-3" onclick="openurl('./tour2.html?id=party', _self)"/>
  167. </scene>
  168. </krpano>