1、先定義一個共同的樣式
<style name="cubeface" keep="true" visible="true" enabled="false" handcursor="true" distorted="true" rx="0.0" ry="0" rz="0.0" zorder="" width="1000" height="1000" capture="true" scale="1.0" />
2、每張圖片(上下左右前後)的ath,atv設置都不一樣
<hotspot name="pano1_f" style="cubeface" url="f.png" ath="0" atv="0" />
<hotspot name="pano1_l" style="cubeface" url="l.png" ath="-90" atv="0" />
<hotspot name="pano1_r" style="cubeface" url="r.png" ath="+90" atv="0" />
<hotspot name="pano1_u" style="cubeface" url="u.png" ath="0" atv="-90" />
<hotspot name="pano1_d" style="cubeface" url="d.png" ath="0" atv="+90" />
<hotspot name="pano1_b" style="cubeface" url="b.png" ath="+180" atv="0" />
如果6張圖沒有拼接好,看一下公共樣式width和height是不是寫的1000
儘量複製我寫的這個代碼測試