diff --git a/templates/map/client/config.json b/templates/map/client/config.json index 5b8bf6cf..b55279e4 100644 --- a/templates/map/client/config.json +++ b/templates/map/client/config.json @@ -45,7 +45,6 @@ { "folder": 13, "type": "WMS", "title": "farbig", "attribution": "LVermGeo", "url": "https://geo4.service24.rlp.de/wms/dtk5_rp.fcgi?", "name": "rp_dtk5", "active": false }, { "folder": 13, "type": "WMS", "title": "grau", "attribution": "LVermGeo", "url": "https://geo4.service24.rlp.de/wms/dtk5_rp.fcgi?", "name": "rp_dtk5_grau", "active": false } ], - "folders": [ { "title": "Hintergrund", "parent": -1 }, @@ -65,7 +64,6 @@ { "title": "BaseMap", "parent": 0 }, { "title": "Webatlas", "parent": 0 } ], - "projections": [ [ "EPSG:25832", "+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs" ] @@ -78,7 +76,8 @@ "minZoom": 5, "maxZoom": 22, "zoom": 9, - "attribution": "LANIS RLP" + "attribution": "LANIS RLP", + "scalebar": true }, "output": @@ -94,9 +93,23 @@ "searchParcel": { "nameURL": "/client/proxy?https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_alkis/gem_search.php?placename={q}", - "parcelURL": "/client/proxy?https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_alkis/flur_search.php?gmk_gmn={district}&fln={field}&fsn_zae={parcelA}&fsn_nen={parcelB}&export=json" + "parcelURL": "/client/proxy?https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_alkis/flur_search.php?gmk_gmn={district}&fln={field}&fsn_zae={parcelA}&fsn_nen={parcelB}&export=json", + "districts_service": + { + "type": "WFS", + "url": "http://geo5.service24.rlp.de/wfs/verwaltungsgrenzen_rp.fcgi?", + "name": "vermkv:gemarkungen_rlp", + "order": 10, + "minZoom": 11, + "maxZoom": 17 + }, + "fields_service": + { + "url": "http://geo5.service24.rlp.de/wfs/verwaltungsgrenzen_rp.fcgi?", + "name": "vermkv:fluren_rlp", + "filter_property": "gmkgnr" + } }, - "import": { "geopackageLibURL": "/libs/geopackage/4.2.3/" @@ -108,7 +121,6 @@ "defaultFilename": "Export", "defaultMargin": 10 }, - "tools": { "buffer": @@ -117,7 +129,6 @@ "defaultSegments": 2 } }, - "styles": { "editLayer": @@ -127,7 +138,6 @@ "strokeWidth": 3, "pointRadius": 6 }, - "select": { "fill": "rgba( 0, 127, 255, 0.5 )", @@ -135,7 +145,6 @@ "strokeWidth": 3, "pointRadius": 6 }, - "sketch": { "fill": "rgba( 0, 127, 255, 0.2 )", @@ -143,7 +152,6 @@ "strokeWidth": 3, "pointRadius": 6 }, - "modify": { "fill": "rgba( 0, 127, 255, 0.5 )", @@ -151,12 +159,17 @@ "strokeWidth": 3, "pointRadius": 6 }, - "parcel": { "fill": "rgba( 127, 255, 255, 0.5 )", "stroke": "#7fffff", "strokeWidth": 3 + }, + "import": + { + "fill": "rgba( 0, 127, 255, 0.2 )", + "stroke": "rgba( 0, 127, 255, 1.0 )", + "width": 1.5 } } } \ No newline at end of file diff --git a/templates/map/client/index.html b/templates/map/client/index.html index 9d77addc..b45b77db 100644 --- a/templates/map/client/index.html +++ b/templates/map/client/index.html @@ -1,59 +1,34 @@ {% load static %} + - - + + - - - - - - - - - - + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +