Skip to content

Commit

Permalink
Merge pull request #4853 from HSLdevcom/dt-5982
Browse files Browse the repository at this point in the history
chore: dt-5982 joensuu zones
  • Loading branch information
vesameskanen authored Aug 30, 2023
2 parents f9592be + 90bc161 commit 8c6b837
Show file tree
Hide file tree
Showing 2 changed files with 533 additions and 7 deletions.
28 changes: 21 additions & 7 deletions app/configurations/config.joensuu.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,19 @@ export default configMerger(walttiConfig, {
],
},

geoJson: {
layers: [
{
name: {
fi: 'Vyöhykkeet',
sv: 'Zoner',
en: 'Zones',
},
url: '/assets/geojson/joensuu_zone_lines_20230830.geojson',
},
],
},

defaultEndpoint: {
address: 'Keskusta, Joensuu',
lat: 62.6024263,
Expand Down Expand Up @@ -112,13 +125,14 @@ export default configMerger(walttiConfig, {
],
},
zoneIdMapping: {
1: 'A',
2: 'B',
3: 'C',
4: 'D',
5: 'E',
6: 'F',
7: 'G',
1: 'City',
2: 'A',
3: 'B',
4: 'C',
5: 'D',
6: 'E',
7: 'F',
8: 'G',
},
zones: {
stops: true,
Expand Down
Loading

0 comments on commit 8c6b837

Please sign in to comment.