From 9281ece2c2d455363d5ed5d0a0b7fd74ea365f0e Mon Sep 17 00:00:00 2001 From: Andreas Helms Date: Thu, 19 Dec 2024 15:13:21 +0100 Subject: [PATCH] fix(map-layer): rename geojson category to bicycle --- app/component/MapLayersDialogContent.js | 2 +- app/configurations/config.herrenberg.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/component/MapLayersDialogContent.js b/app/component/MapLayersDialogContent.js index ad17049d13..57f792ab80 100644 --- a/app/component/MapLayersDialogContent.js +++ b/app/component/MapLayersDialogContent.js @@ -337,7 +337,7 @@ class MapLayersDialogContent extends React.Component { ] .concat( this.layerOptionsByCategory( - 'bicycle_car', + 'bicycle', config.geoJson?.layers, geoJson, this.props.lang, diff --git a/app/configurations/config.herrenberg.js b/app/configurations/config.herrenberg.js index 5711494330..d1af4474c4 100644 --- a/app/configurations/config.herrenberg.js +++ b/app/configurations/config.herrenberg.js @@ -360,7 +360,7 @@ export default configMerger(parentConfig, { de: 'Service Stationen und Läden', }, url: 'https://data.mfdz.de/hbg/dt-layers/bicycleinfrastructure.geojson', - category: 'bicycle_car', + category: 'bicycle', icon: 'icon-icon_bike_repair', }, // Bicycle network layer @@ -370,7 +370,7 @@ export default configMerger(parentConfig, { en: "Bicycle network", de: 'Radnetz', }, - category: 'bicycle_car', + category: 'bicycle', url: 'https://api.mobidata-bw.de/geoserver/MobiData-BW/wms', icon: 'icon-icon_radnetz', isOffByDefault: true,