fix(dev): add missing Map flags in GisSystemStatic to match production

Add/restore Map: 1 attributes in GisSystemStatic (dev)
Ensures mapLayers initialization creates visibility keys
Fixes missing area markers and layer control state in dev
Behavior now consistent with production
This commit is contained in:
ISA
2025-09-12 13:09:21 +02:00
parent a2d3338624
commit 239ad82e46
5 changed files with 214 additions and 22 deletions

View File

@@ -23,4 +23,4 @@ NEXT_PUBLIC_USE_MOCKS=true
# z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen # z.B. http://10.10.0.13/xyz/index.aspx -> basePath in config.json auf /xyz setzen
# basePath wird jetzt in public/config.json gepflegt # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.353 NEXT_PUBLIC_APP_VERSION=1.1.354

View File

@@ -24,4 +24,4 @@ NEXT_PUBLIC_USE_MOCKS=false
# basePath wird jetzt in public/config.json gepflegt # basePath wird jetzt in public/config.json gepflegt
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.1.353 NEXT_PUBLIC_APP_VERSION=1.1.354

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.353", "version": "1.1.354",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nodemap", "name": "nodemap",
"version": "1.1.353", "version": "1.1.354",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "nodemap", "name": "nodemap",
"version": "1.1.353", "version": "1.1.354",
"dependencies": { "dependencies": {
"@emotion/react": "^11.13.3", "@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0", "@emotion/styled": "^11.13.0",

View File

@@ -4,111 +4,303 @@
"Name": "TALAS", "Name": "TALAS",
"Longname": "Talas Meldestationen", "Longname": "Talas Meldestationen",
"Allow": 1, "Allow": 1,
"Icon": 1 "Icon": 20,
"Map": 1
},
{
"IdSystem": 1,
"Name": "TALAS",
"Longname": "Talas Meldestationen",
"Allow": 0,
"Icon": 20,
"Map": 1
}, },
{ {
"IdSystem": 2, "IdSystem": 2,
"Name": "ECI", "Name": "ECI",
"Longname": "ECI Geräte", "Longname": "ECI Geräte",
"Allow": 1, "Allow": 0,
"Icon": 2 "Icon": 17,
"Map": 1
}, },
{ {
"IdSystem": 3, "IdSystem": 3,
"Name": "ULAF", "Name": "ULAF",
"Longname": "ULAF Geräte", "Longname": "ULAF Geräte",
"Allow": 1, "Allow": 1,
"Icon": 3 "Icon": 14,
"Map": 1
},
{
"IdSystem": 3,
"Name": "ULAF",
"Longname": "ULAF Geräte",
"Allow": 0,
"Icon": 14,
"Map": 1
}, },
{ {
"IdSystem": 5, "IdSystem": 5,
"Name": "GSM Modem", "Name": "GSM Modem",
"Longname": "LR77 GSM Modems", "Longname": "LR77 GSM Modems",
"Allow": 1, "Allow": 1,
"Icon": 5 "Icon": 12,
"Map": 1
},
{
"IdSystem": 5,
"Name": "GSM Modem",
"Longname": "LR77 GSM Modems",
"Allow": 0,
"Icon": 12,
"Map": 1
},
{
"IdSystem": 6,
"Name": "Cisco Router",
"Longname": "Cisco Router",
"Allow": 0,
"Icon": 21,
"Map": 1
}, },
{ {
"IdSystem": 6, "IdSystem": 6,
"Name": "Cisco Router", "Name": "Cisco Router",
"Longname": "Cisco Router", "Longname": "Cisco Router",
"Allow": 1, "Allow": 1,
"Icon": 6 "Icon": 21,
"Map": 1
},
{
"IdSystem": 6,
"Name": "Cisco Router",
"Longname": "Cisco Router",
"Allow": 0,
"Icon": 21,
"Map": 1
},
{
"IdSystem": 7,
"Name": "WAGO",
"Longname": "WAGO I/O Systeme",
"Allow": 1,
"Icon": 9,
"Map": 1
}, },
{ {
"IdSystem": 7, "IdSystem": 7,
"Name": "WAGO", "Name": "WAGO",
"Longname": "WAGO I/O Systeme", "Longname": "WAGO I/O Systeme",
"Allow": 0, "Allow": 0,
"Icon": 7 "Icon": 9,
"Map": 1
},
{
"IdSystem": 7,
"Name": "WAGO",
"Longname": "WAGO I/O Systeme",
"Allow": 0,
"Icon": 9,
"Map": 1
},
{
"IdSystem": 7,
"Name": "WAGO",
"Longname": "WAGO I/O Systeme",
"Allow": 0,
"Icon": 9,
"Map": 1
},
{
"IdSystem": 8,
"Name": "Siemens",
"Longname": "Siemens Notrufsysteme",
"Allow": 1,
"Icon": 19,
"Map": 1
}, },
{ {
"IdSystem": 8, "IdSystem": 8,
"Name": "Siemens", "Name": "Siemens",
"Longname": "Siemens Notrufsysteme", "Longname": "Siemens Notrufsysteme",
"Allow": 0, "Allow": 0,
"Icon": 8 "Icon": 19,
"Map": 1
},
{
"IdSystem": 9,
"Name": "OTDR",
"Longname": "Glasfaserüberwachung OTU",
"Allow": 1,
"Icon": 24,
"Map": 1
}, },
{ {
"IdSystem": 9, "IdSystem": 9,
"Name": "OTDR", "Name": "OTDR",
"Longname": "Glasfaserüberwachung OTU", "Longname": "Glasfaserüberwachung OTU",
"Allow": 0, "Allow": 0,
"Icon": 9 "Icon": 24,
"Map": 1
},
{
"IdSystem": 9,
"Name": "OTDR",
"Longname": "Glasfaserüberwachung OTU",
"Allow": 0,
"Icon": 24,
"Map": 1
},
{
"IdSystem": 9,
"Name": "OTDR",
"Longname": "Glasfaserüberwachung OTU",
"Allow": 0,
"Icon": 24,
"Map": 1
},
{
"IdSystem": 10,
"Name": "WDM",
"Longname": " Wavelength Division Multiplexing",
"Allow": 1,
"Icon": 24,
"Map": 1
}, },
{ {
"IdSystem": 10, "IdSystem": 10,
"Name": "WDM", "Name": "WDM",
"Longname": " Wavelength Division Multiplexing", "Longname": " Wavelength Division Multiplexing",
"Allow": 0, "Allow": 0,
"Icon": 10 "Icon": 24,
"Map": 1
},
{
"IdSystem": 10,
"Name": "WDM",
"Longname": " Wavelength Division Multiplexing",
"Allow": 0,
"Icon": 24,
"Map": 1
}, },
{ {
"IdSystem": 11, "IdSystem": 11,
"Name": "GMA", "Name": "GMA",
"Longname": "Glättemeldeanlagen", "Longname": "Glättemeldeanlagen",
"Allow": 1, "Allow": 1,
"Icon": 11 "Icon": 1,
"Map": 1
},
{
"IdSystem": 11,
"Name": "GMA",
"Longname": "Glättemeldeanlagen",
"Allow": 0,
"Icon": 1,
"Map": 1
},
{
"IdSystem": 11,
"Name": "GMA",
"Longname": "Glättemeldeanlagen",
"Allow": 0,
"Icon": 1,
"Map": 1
}, },
{ {
"IdSystem": 13, "IdSystem": 13,
"Name": "Messstellen", "Name": "Messstellen",
"Longname": "Messstellen", "Longname": "Messstellen",
"Allow": 0, "Allow": 0,
"Icon": 13 "Icon": 23,
"Map": 1
},
{
"IdSystem": 30,
"Name": "TK-Komponenten",
"Longname": "TK-Komponenten",
"Allow": 1,
"Icon": 14,
"Map": 1
}, },
{ {
"IdSystem": 30, "IdSystem": 30,
"Name": "TK-Komponenten", "Name": "TK-Komponenten",
"Longname": "TK-Komponenten", "Longname": "TK-Komponenten",
"Allow": 0, "Allow": 0,
"Icon": 30 "Icon": 14,
"Map": 1
},
{
"IdSystem": 100,
"Name": "TALAS ICL",
"Longname": "Talas ICL Unterstationen",
"Allow": 1,
"Icon": 23,
"Map": 1
}, },
{ {
"IdSystem": 100, "IdSystem": 100,
"Name": "TALAS ICL", "Name": "TALAS ICL",
"Longname": "Talas ICL Unterstationen", "Longname": "Talas ICL Unterstationen",
"Allow": 0, "Allow": 0,
"Icon": 100 "Icon": 23,
"Map": 1
}, },
{ {
"IdSystem": 110, "IdSystem": 110,
"Name": "DAUZ", "Name": "DAUZ",
"Longname": "Dauerzählstellen", "Longname": "Dauerzählstellen",
"Allow": 0, "Allow": 0,
"Icon": 110 "Icon": 14,
"Map": 1
},
{
"IdSystem": 110,
"Name": "DAUZ",
"Longname": "Dauerzählstellen",
"Allow": 1,
"Icon": 14,
"Map": 1
},
{
"IdSystem": 110,
"Name": "DAUZ",
"Longname": "Dauerzählstellen",
"Allow": 0,
"Icon": 14,
"Map": 1
},
{
"IdSystem": 111,
"Name": "SMS Modem",
"Longname": "SMS Modem",
"Allow": 1,
"Icon": 12,
"Map": 1
}, },
{ {
"IdSystem": 111, "IdSystem": 111,
"Name": "SMS Modem", "Name": "SMS Modem",
"Longname": "SMS Modem", "Longname": "SMS Modem",
"Allow": 0, "Allow": 0,
"Icon": 111 "Icon": 12,
"Map": 1
},
{
"IdSystem": 200,
"Name": "Sonstige",
"Longname": "Sonstige",
"Allow": 1,
"Icon": 31,
"Map": 1
}, },
{ {
"IdSystem": 200, "IdSystem": 200,
"Name": "Sonstige", "Name": "Sonstige",
"Longname": "Sonstige", "Longname": "Sonstige",
"Allow": 0, "Allow": 0,
"Icon": 200 "Icon": 31,
"Map": 1
} }
] ]