Browse Source

:fire: disable draw toolbar, proxy and popUp

jmacura 5 năm trước cách đây
mục cha
commit
4cd1c19b32
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/app.module.js

+ 4 - 1
src/app.module.js

@@ -48,6 +48,7 @@ angular
     'gettext',
   ])
   .value('HsConfig', {
+    useProxy: false,
     //proxyPrefix: '../8085/',
     default_layers: [
       new Tile({
@@ -64,7 +65,6 @@ angular
         removable: false,
       }),
     ],
-    popUpDisplay: 'hover',
     project_name: 'erra/map',
     default_view: new View({
       center: [2433348.3022471312, 7744501.813885343],
@@ -89,6 +89,9 @@ angular
       permalink: false,
       language: false,
     },
+    componentsEnabled: {
+      drawToolbar: false,
+    },
     sizeMode: 'fullscreen',
   })
   .component('hs', HsComponent);