Skip to content

Commit

Permalink
feature(journey-maps): introducing SbbRailNetworkOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mstankala committed Mar 9, 2023
1 parent ab4df27 commit 9d77ac3
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,23 @@ export class JourneyMapsFullExample implements OnInit, OnDestroy {
journeyMapsRoutingOptions: { label: string; value: SbbJourneyMapsRoutingOptions | undefined }[] =
[
{ label: '(none)', value: undefined },
{ label: 'Zürich - Bern, Wyleregg', value: { journey: zhBeWyleregg } },
{ label: 'Zürich - Schaffhausen, Waldfriedhof', value: { journey: zhShWaldfriedhof } },
{
label: 'Bern - Lausanne (hide rail network)',
label: 'Bern - Lausanne (hide rails)',
value: {
routes: bnLsRoutes,
routesMetaInformations: bnLsRoutesOptions,
railNetworkOptions: { railNetworkColor: 'transparent' },
},
},
{ label: 'Zürich - Bern, Wyleregg', value: { journey: zhBeWyleregg } },
{ label: 'Zürich - Schaffhausen, Waldfriedhof', value: { journey: zhShWaldfriedhof } },
{
label: 'Bern - Lausanne',
value: { routes: bnLsRoutes, routesMetaInformations: bnLsRoutesOptions },
},
{
label: 'Biel - Lyss',
value: { routes: bielLyssRoutes, routesMetaInformations: bielLyssRoutesOptions },
label: 'Biel - Lyss (lighter rails)',
value: {
routes: bielLyssRoutes,
routesMetaInformations: bielLyssRoutesOptions,
railNetworkOptions: { railNetworkColor: 'rgba(229,229,229,1)' },
},
},
{ label: 'Transfer Bern', value: { transfer: bernIndoor } },
{ label: 'Transfer Genf', value: { transfer: geneveIndoor } },
Expand Down

0 comments on commit 9d77ac3

Please sign in to comment.