From ac90b8c6c745cedbda78b1962660a8a49d23de09 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 30 Jan 2024 02:06:11 +0100 Subject: =?UTF-8?q?Mineralr=C3=A4ttigheter:=20Remove=20unused=20fields=20f?= =?UTF-8?q?rom=20popover.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/main.js b/main.js index 94ccc9c..df94f55 100644 --- a/main.js +++ b/main.js @@ -511,7 +511,6 @@ const layers = { ['Area', 'Area'], ['Giltig från', 'Valid from'], ['Giltig till', 'Valid to'], - ['Diary nr', 'Diary nr', { classes: ['feature-attr-dnr'] }], ['Kommun', 'Municipality'], ['Län', 'County'], ['Senast uppdaterad', 'Last updated'], @@ -536,8 +535,6 @@ const layers = { ['Koncessionsmineral', 'Mineral'], ['Sökande', 'Applicant'], ['Area', 'Area'], - ['Ansökningsdatum', 'Application date'], - ['Diary nr', 'Diary nr', { classes: ['feature-attr-dnr'] }], ['Kommun', 'Municipality'], ['Län', 'County'], ['Senast uppdaterad', 'Last updated'], @@ -671,8 +668,6 @@ const layers = { popover: [ ['Namn', 'Name'], ['Area', 'Area'], - ['Beslutsdatum', 'Decision date'], - ['Diary nr', 'Diary nr', { classes: ['feature-attr-dnr'] }], ['Kommun', 'Municipality'], ['Län', 'County'], ['Senast uppdaterad', 'Last updated'], @@ -693,16 +688,14 @@ const layers = { mrr_appr_pc: { popoverTitle: 'Gällande torvkoncession', popover: [ - ['Namn', 'Name'], - ['Koncessionsmineral', 'Mineral'], - ['Ägare', 'Owner'], - ['Area', 'Area'], - ['Giltig från', 'Valid from'], - ['Giltig till', 'Valid to'], - ['Diary nr', 'Diary nr', { classes: ['feature-attr-dnr'] }], - ['Kommun', 'Municipality'], - ['Län', 'County'], - ['Senast uppdaterad', 'Last updated'], + ['Namn', 'Name'], + ['Ägare', 'Owner'], + ['Area', 'Area'], + ['Giltig från', 'Valid from'], + ['Giltig till', 'Valid to'], + ['Kommun', 'Municipality'], + ['Län', 'County'], + ['Senast uppdaterad', 'Last updated'], ], style: [0, .1, .5, .5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 5].map(function(width, z) { return new Style({ -- cgit v1.2.3