浏览代码

:fire: disable draw toolbar, proxy and popUp

jmacura 5 年之前
父节点
当前提交
4cd1c19b32
共有 1 个文件被更改,包括 4 次插入1 次删除
  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);