Krpano添加自动旋转

1.scene外添加 <autorotate enabled="true" waittime="5.0" speed="-3.0" horizon="0.0" tofov="120.0" /> 2.在startup添加 <action name="startup"> if(startscene ===...

angular 1.x directive

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="angular.min.js"></script> </head> <body ng-app="myap...

js实现全屏

function fullScreen(el) { var rfs = el.requestFullScreen || el.webkitRequestFullScreen || el.mozRequestFullScreen || el.msRequestFullScreen, wscript; if...

krpano隐藏导航条

搜索并设为set ( layer [ skin_layer ] . visible , false ) ; 两个箭头隐藏改为 <!-- previous/next scene buttons for the hidden skin mode --> <layer name="skin_btn_prev_...

krpano制作snow

复制plugins的snow插件,将snow的xml放到同级: snow.xml: <krpano> <!-- the snow plugin --> <plugin name="snow" zorder="1" url="%SWFPATH%/plugins/snow.swf" alturl="%SWF...

krpano设置文字

添加文字热点,调用方法: <hotspot name="spot1" url="animatedhotspot_white.png" onloaded="do_crop_animation(64,64, 60);add_all_the_time_tooltip_for_VR()" ath="-15" a...

krpano设置转动方式?

拖拽或者moveTo: <action name="control_startup" autorun="onstart"> set(control.mouse, moveto); set(control.touch, moveto); </action> 先要改成drag就是将moveto改成drag