From 549e11e920312f9a371d96f931786c55690ab2c5 Mon Sep 17 00:00:00 2001 From: Joel Lappalainen Date: Tue, 30 Jul 2019 12:19:18 +0300 Subject: [PATCH] Add citybikes to oulu conf --- app/configurations/config.oulu.js | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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: {