Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration changes for internal dish client #258

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ export const denkmalAmtLink =
'<a href="https://www.schleswig-holstein.de/DE/landesregierung/ministerien-behoerden/LD/ld_node.html" target="_blank">Landesamt für Denkmalpflege</a>'

export const vermessungsAmtLink =
'<a href="https://www.schleswig-holstein.de/DE/landesregierung/ministerien-behoerden/LVERMGEOSH" target="_blank">© Geobasis-DE/LVermGeo SH</a>'
'<a href="https://www.schleswig-holstein.de/DE/landesregierung/ministerien-behoerden/LVERMGEOSH" target="_blank">Geobasis-DE/LVermGeo SH</a>'

export const attributionsBasemapGrau = {
id: basemapGrau,
title:
'Karte Basemap.de (Graustufen): © <a href="https://basemap.de/" target="_blank">basemap.de / BKG</a> <MONTH> <YEAR>',
'Karte Basemap.de (Graustufen): <a href="https://basemap.de/" target="_blank">basemap.de / BKG</a> <MONTH> <YEAR>',
}

export const attributionsAlkisWms = {
id: alkisWms,
title:
'Karte Flurstücke gemäss ALKIS-Objektartenkatalog © <a href="https://www.schleswig-holstein.de/DE/landesregierung/ministerien-behoerden/LVERMGEOSH" target="_blank">© Geobasis-DE/LVermGeo SH</a> <MONTH> <YEAR>',
'Karte Flurstücke gemäss ALKIS-Objektartenkatalog <a href="https://www.schleswig-holstein.de/DE/landesregierung/ministerien-behoerden/LVERMGEOSH" target="_blank">© Geobasis-DE/LVermGeo SH</a> <MONTH> <YEAR>',
}
42 changes: 21 additions & 21 deletions packages/clients/dish/src/mapConfigurations/layerConfigIntern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const layersIntern: LayerConfiguration[] = [
id: basemapGrau,
visibility: false,
type: 'background',
name: 'Basemap Graustufen',
name: 'Basemap.de Graustufen',
},
{
id: bddEin,
Expand All @@ -40,22 +40,14 @@ const layersIntern: LayerConfiguration[] = [
id: dop20col,
visibility: false,
type: 'background',
name: 'Luftbilder',
name: 'Luftbild (Farbe)',
},
{
id: alkisWfs,
visibility: false,
hideInMenu: true,
gfiMode: 'bboxDot',
type: 'mask',
name: 'ALKIS Katasterbezirke (WFS) Infoabfragelayer',
},
{
id: alkisWms,
visibility: false,
id: beschriftung,
visibility: true,
type: 'mask',
name: 'ALKIS Flurstücke (ab 1:1000)',
minZoom: 10,
name: 'Beschriftung (ab 1:2.500)',
minZoom: 9,
},
{
id: denkmaelerWFS,
Expand Down Expand Up @@ -100,16 +92,16 @@ const layersIntern: LayerConfiguration[] = [
'23': 'Baudenkmal mit Kontrollbedarf',
'22': 'Gründenkmal mit Kontrollbedarf',
'21': 'Gewässer mit Kontrollbedarf',
'20': 'Baudenkmal mit Kontrollbedarf (Flächen)',
'19': 'Gründenkmal mit Kontrollbedarf (Flächen)',
'20': 'Baudenkmal (Fläche) mit Kontrollbedarf',
'19': 'Gründenkmal (Fläche) mit Kontrollbedarf',
},
legend: true,
},
},
},
{
id: verlust,
visibility: true,
visibility: false,
type: 'mask',
name: 'Verlust',
options: {
Expand Down Expand Up @@ -142,11 +134,19 @@ const layersIntern: LayerConfiguration[] = [
},
},
{
id: beschriftung,
visibility: true,
id: alkisWfs,
visibility: false,
hideInMenu: true,
gfiMode: 'bboxDot',
type: 'mask',
name: 'Beschriftung (ab 1:2500)',
minZoom: 9,
name: 'ALKIS Katasterbezirke (WFS) Infoabfragelayer',
},
{
id: alkisWms,
visibility: false,
type: 'mask',
name: 'ALKIS Flurstücke (ab 1:1.000)',
minZoom: 10,
},
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ export const mapConfigIntern = (urlParams: DishUrlParams): DishMapConfig => ({
},
{
id: dop20col,
title: `Luftbilder Farbe: © ${vermessungsAmtLink}`,
title: `Luftbild (Farbe): © ${vermessungsAmtLink}`,
},
attributionsAlkisWms,
{
id: denkmaelerWMS,
title: `Karte Kulturdenkmale (Denkmalliste): © ${denkmalAmtLink} <MONTH> <YEAR>`,
Expand All @@ -68,6 +67,7 @@ export const mapConfigIntern = (urlParams: DishUrlParams): DishMapConfig => ({
id: verwaltung,
title: `Verwaltungsgrenzen: © ${vermessungsAmtLink}`,
},
attributionsAlkisWms,
],
staticAttributions: [
`<span>Geobasisdaten: © GeoBasis-DE / <a href="https://www.bkg.bund.de/">BKG</a> 2024 <a href="http://sg.geodatenzentrum.de/web_public/nutzungsbedingungen.pdf">Nutzungsbedingungen</a></span>`,
Expand All @@ -80,6 +80,7 @@ export const mapConfigIntern = (urlParams: DishUrlParams): DishMapConfig => ({
draw: {
selectableDrawModes: ['Circle', 'LineString', 'Point', 'Polygon', 'Text'],
textStyle: {
textColor: '#e51313',
font: {
size: [10, 20, 30],
family: 'Arial',
Expand Down