diff --git a/app/configurations/config.matka.js b/app/configurations/config.matka.js index 9e43538613..850f3104aa 100644 --- a/app/configurations/config.matka.js +++ b/app/configurations/config.matka.js @@ -135,6 +135,34 @@ export default { en: 'https://www.hsl.fi/en/citybikes', }, }, + turku: { + icon: 'citybike', + name: { + fi: 'Turku', + sv: 'Åbo', + en: 'Turku', + }, + type: 'citybike', + url: { + fi: 'https://www.foli.fi/kaupunkipyorat', + sv: 'https://www.foli.fi/sv/stadscyklar', + en: 'https://www.foli.fi/en/citybikes', + }, + }, + oulu: { + icon: 'citybike', + name: { + fi: 'Oulu', + sv: 'Uleåborg', + en: 'Oulu', + }, + type: 'citybike', + url: { + fi: 'https://kaupunkipyorat.ouka.fi/', + sv: 'https://kaupunkipyorat.ouka.fi/home', + en: 'https://kaupunkipyorat.ouka.fi/home', + }, + }, }, }, diff --git a/app/configurations/config.oulu.js b/app/configurations/config.oulu.js index aaf7ed26ba..eb220023aa 100644 --- a/app/configurations/config.oulu.js +++ b/app/configurations/config.oulu.js @@ -34,6 +34,31 @@ export default configMerger(walttiConfig, { // Navbar logo logo: 'oulu/oulu-logo.png', + cityBike: { + showCityBikes: true, + useUrl: { + fi: 'https://kaupunkipyorat.ouka.fi/', + sv: 'https://kaupunkipyorat.ouka.fi/home', + en: 'https://kaupunkipyorat.ouka.fi/home', + }, + networks: { + oulu: { + icon: 'citybike', + name: { + fi: 'Oulu', + sv: 'Uleåborg', + en: 'Oulu', + }, + type: 'citybike', + url: { + fi: 'https://kaupunkipyorat.ouka.fi/', + sv: 'https://kaupunkipyorat.ouka.fi/home', + en: 'https://kaupunkipyorat.ouka.fi/home', + }, + }, + }, + }, + searchParams: { 'boundary.rect.min_lat': 64.71, 'boundary.rect.max_lat': 65.38, @@ -41,6 +66,12 @@ export default configMerger(walttiConfig, { 'boundary.rect.max_lon': 26.61, }, + transportModes: { + citybike: { + availableForSelection: true, + }, + }, + areaPolygon: [[24.37, 64.71], [24.37, 65.38], [26.61, 65.38], [26.61, 64.71]], defaultEndpoint: { diff --git a/app/configurations/config.turku.js b/app/configurations/config.turku.js index 0187714a27..9afa015467 100644 --- a/app/configurations/config.turku.js +++ b/app/configurations/config.turku.js @@ -52,7 +52,7 @@ export default configMerger(walttiConfig, { en: 'https://www.foli.fi/en/citybikes', }, networks: { - smoove: { + turku: { icon: 'citybike', name: { fi: 'Turku',