aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-30 02:06:11 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-30 02:06:45 +0100
commitac90b8c6c745cedbda78b1962660a8a49d23de09 (patch)
treee314bb20d12357d9f55fcef55c4057c1da25297f
parentfaaeef9a9b1172c7f46228af5aca9080547eb826 (diff)
Mineralrättigheter: Remove unused fields from popover.
-rw-r--r--main.js23
1 files 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({