|
@@ -307,3 +307,19 @@ function registerEvent() {
|
|
$('#fullScreen span').text('全屏');
|
|
$('#fullScreen span').text('全屏');
|
|
exitFullScreen();
|
|
exitFullScreen();
|
|
fullScreenState = false;
|
|
fullScreenState = false;
|
|
|
|
+ if ($('#mapBg').hasClass('active')) {
|
|
|
|
+ destoryMiniMap();
|
|
|
|
+ createMiniMap();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ checkBtnActives(['#mapBg', '#sceneSetting']);
|
|
|
|
+ });
|
|
|
|
+ // 鼠标键按下事件,功能按钮隐藏
|
|
|
|
+ app.on(THING.EventType.MouseDown, function () {
|
|
|
|
+ app.pauseEvent(THING.EventType.CameraZoom, null, '摄像机前后滚动,功能图片隐藏');
|
|
|
|
+ if (showControlTimer != null) {
|
|
|
|
+ clearTimeout(showControlTimer);
|
|
|
|
+ showControlTimer = null;
|
|
|
|
+ }
|
|
|
|
+ stopRotate();
|
|
|
|
+ if (hiddenControlTimer == null) {
|