Skip to content

Commit

Permalink
Add citybikes to oulu conf
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Jul 30, 2019
1 parent 57f5ad5 commit 549e11e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/configurations/config.oulu.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,44 @@ 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,
'boundary.rect.min_lon': 24.37,
'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: {
Expand Down

0 comments on commit 549e11e

Please sign in to comment.