jinx 4 rokov pred
rodič
commit
929ed1b9e6
3 zmenil súbory, kde vykonal 18 pridanie a 2 odobranie
  1. 9 1
      IndoorViewerAPI.js
  2. 8 0
      css/style.css
  3. 1 1
      translations/zh.json

+ 9 - 1
IndoorViewerAPI.js

@@ -61780,7 +61780,8 @@ and limitations under the License.
             this.clearRefreshTimers(),
             this.fetchCurrentUser().then((function() {
 				//$('sidebar-menu-item li').has('span[data-original-title="控制点"]').hide()
-				window.eventBus.emit('my-event');
+				//window.eventBus.emit('my-event');
+				IV.SidebarMenuService.closeMenu()
                 return t.sendAuthenticationChanged()
             }
             ))
@@ -131755,6 +131756,7 @@ and limitations under the License.
         }
         ,
         t.prototype.getZoomLevel = function() {
+			
             return this.addingLocation && this.isLocationFieldValid("longitude") && this.isLocationFieldValid("latitude") ? t.DEFAULT_ZOOM_LEVEL : 0
         }
         ,
@@ -206681,6 +206683,7 @@ and limitations under the License.
                 var t = this.ViewService.mapView.getDefaultViewport()
                   , e = this.ViewService.mapView.getCamera()
                   , n = t.getWidth() / (e.right - e.left);
+				  alert(Number(n.toFixed(4)))
                 return Number(n.toFixed(4))
             },
             enumerable: !0,
@@ -207499,6 +207502,11 @@ and limitations under the License.
         }
         return t.prototype.initSideMenuItem = function() {
 			var j = this
+			console.log('!!!!!')
+		
+			IV.SidebarMenuService =  j.SidebarMenuService
+
+			console.log(IV)
 			window.eventBus = new EventBus();
 			window.eventBus.on('my-event', function () {
 

+ 8 - 0
css/style.css

@@ -1956,4 +1956,12 @@ sidebar-menu #view-menu #pointcloud-menu #pointcloud-options #pointcloud-pane>di
 alert-dialog .mat-stroked-button {
     border-color: rgba(255, 255, 255, .2) !important;
     color: #fff;
+}
+
+permission-editor>.form-group[ng-show="vm.UserService.isUserLoggedIn() && model.security.canWrite !== false"] {
+    display: none !important;
+}
+
+.form-horizontal+.text-danger {
+    display: none !important;
 }

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 1 - 1
translations/zh.json