|
| 1 | +import { BIKEAVL_WITHMAX } from '../util/vehicleRentalUtils'; |
1 | 2 | import ttConfig from './timetableConfigUtils'; |
2 | 3 |
|
3 | 4 | const HSLTimetables = ttConfig.HSL; |
@@ -445,7 +446,37 @@ export default { |
445 | 446 | vehicleRental: { |
446 | 447 | minZoomStopsNearYou: 10, |
447 | 448 | showFullInfo: true, |
448 | | - networks: {}, |
| 449 | + networks: { |
| 450 | + hsl: { |
| 451 | + enabled: true, |
| 452 | + season: { |
| 453 | + preSeasonStart: '1.3', |
| 454 | + start: '17.3', |
| 455 | + end: '31.10', |
| 456 | + }, |
| 457 | + capacity: BIKEAVL_WITHMAX, |
| 458 | + icon: 'citybike', |
| 459 | + name: { |
| 460 | + fi: 'Helsinki ja Espoo', |
| 461 | + sv: 'Helsingfors och Esbo', |
| 462 | + en: 'Helsinki and Espoo', |
| 463 | + }, |
| 464 | + type: 'citybike', |
| 465 | + returnInstructions: { |
| 466 | + fi: 'https://www.hsl.fi/kaupunkipyorat/helsinki/kayttoohje#palauta', |
| 467 | + sv: 'https://www.hsl.fi/sv/stadscyklar/helsingfors/anvisningar#aterlamna', |
| 468 | + en: 'https://www.hsl.fi/en/citybikes/helsinki/instructions#return', |
| 469 | + }, |
| 470 | + // Shown if citybike leg duration exceeds timeBeforeSurcharge |
| 471 | + durationInstructions: { |
| 472 | + fi: 'https://www.hsl.fi/kaupunkipyorat/helsinki/kayttoohje#aja', |
| 473 | + sv: 'https://www.hsl.fi/sv/stadscyklar/helsingfors/anvisningar#cykla', |
| 474 | + en: 'https://www.hsl.fi/en/citybikes/helsinki/instructions#ride', |
| 475 | + }, |
| 476 | + timeBeforeSurcharge: 60 * 60, |
| 477 | + showRentalStations: true, |
| 478 | + }, |
| 479 | + }, |
449 | 480 | buyUrl: { |
450 | 481 | fi: 'https://www.hsl.fi/kaupunkipyorat?utm_campaign=kaupunkipyorat-omat&utm_source=reittiopas&utm_medium=referral#block-28474', |
451 | 482 | sv: 'https://www.hsl.fi/sv/stadscyklar?utm_campaign=kaupunkipyorat-omat&utm_source=reittiopas&utm_medium=referral#block-28474', |
|
0 commit comments