|
@@ -282,7 +282,7 @@ SceneInformation.prototype.init = function (data, data2) {
|
|
|
if (data.momentTour === 'black') {
|
|
|
momentTour.prop('checked', true);
|
|
|
}
|
|
|
- if (data.showHotListSta && data.showHotListSta != "false") {
|
|
|
+ if (data.showHotListSta) {
|
|
|
hotListSwitch.prop('checked', true);
|
|
|
}
|
|
|
if (data.hotIconScale && parseFloat(data.hotIconScale) <= 1.5 && parseFloat(data.hotIconScale) >= 0.3) {
|
|
@@ -300,22 +300,22 @@ SceneInformation.prototype.init = function (data, data2) {
|
|
|
}
|
|
|
|
|
|
// 热点图片放大
|
|
|
- if (data.hotImageScale && data.hotImageScale != "false") {
|
|
|
+ if (data.hotImageScale) {
|
|
|
$hotImageScale[0].checked = true
|
|
|
}
|
|
|
|
|
|
// 隐藏地面标记
|
|
|
- if (data.hideFloorMarker && data.hideFloorMarker != "false") {
|
|
|
+ if (data.hideFloorMarker) {
|
|
|
$hideFloorMarker[0].checked = true
|
|
|
}
|
|
|
|
|
|
// 隐藏鼠标标记
|
|
|
- if (data.hideMouseMarker && data.hideMouseMarker != "false") {
|
|
|
+ if (data.hideMouseMarker) {
|
|
|
$hideMouseMarker[0].checked = true
|
|
|
}
|
|
|
|
|
|
//特殊大场景
|
|
|
- if (data.special === "true" || data.special) {
|
|
|
+ if (data.special) {
|
|
|
$g_specialScene[0].checked = true
|
|
|
}
|
|
|
|
|
@@ -393,8 +393,8 @@ function getSeft(seft) {
|
|
|
}
|
|
|
|
|
|
var ev = document.createEvent("MouseEvent");//点击截取视图
|
|
|
- g_snapShotWidth = 240;
|
|
|
- g_snapShotHeight = 118;
|
|
|
+ g_snapShotWidth = 240*4;
|
|
|
+ g_snapShotHeight = 118*4;
|
|
|
window.screenSta = 'startScreen';
|
|
|
ev.initMouseEvent("snapshotBegin", true, true, document.defaultView, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
|
|
|