فهرست منبع

feat: NUTS2 turned-off by default

jmacura 5 سال پیش
والد
کامیت
390836933d
2فایلهای تغییر یافته به همراه11 افزوده شده و 8 حذف شده
  1. 10 7
      src/app-js.ts
  2. 1 1
      src/app.component.ts

+ 10 - 7
src/app-js.ts

@@ -89,13 +89,16 @@ export default angular
       units: 'm',
     }),
     advanced_form: true,
-    datasources: [{
-      title: "Metadata catalogue",
-      url: "https://polirural-cat.lesprojekt.cz/micka2/csw",
-      language: 'eng',
-      type: "micka",
-      code_list_url: 'https://polirural-cat.lesprojekt.cz/micka2/util/codelists.php?_dc=1440156028103&language=eng&page=1&start=0&limit=25&filter=%5B%7B%22property%22%3A%22label%22%7D%5D'
-    }],
+    datasources: [
+      {
+        title: 'Metadata catalogue',
+        url: 'https://polirural-cat.lesprojekt.cz/micka2/csw',
+        language: 'eng',
+        type: 'micka',
+        code_list_url:
+          'https://polirural-cat.lesprojekt.cz/micka2/util/codelists.php?_dc=1440156028103&language=eng&page=1&start=0&limit=25&filter=%5B%7B%22property%22%3A%22label%22%7D%5D',
+      },
+    ],
     hostname: {
       default: {
         title: 'Default',

+ 1 - 1
src/app.component.ts

@@ -99,7 +99,7 @@ const nuts3style = function (feature) {
 export const nuts2Layer = new VectorLayer({
   source: nuts.nuts2Source,
   editor: {editable: false},
-  visible: true,
+  visible: false,
   style: nuts2style,
   title: 'NUTS2 regions',
 });