diff --git a/src/components/map/stopMap.css b/src/components/map/stopMap.css index 3c01047d..1c512728 100644 --- a/src/components/map/stopMap.css +++ b/src/components/map/stopMap.css @@ -108,6 +108,14 @@ border: 2px solid #0098a1; } +.primaryLegendText { + font-family: GothamRounded-Medium; +} + +.italics { + font-style: italic; +} + .overlays { position: absolute; top: 0; diff --git a/src/components/map/stopMap.js b/src/components/map/stopMap.js index f148bc4b..cfaf3550 100644 --- a/src/components/map/stopMap.js +++ b/src/components/map/stopMap.js @@ -150,7 +150,11 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
-
Bussi / Buss / Bus
+
+ Bussi / Buss + {' / '} + Bus +
); case 'TRAM': @@ -158,7 +162,11 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
-
Raitiovaunu / Spårvagn / Tram
+
+ Raitiovaunu / Spårvagn + {' / '} + Tram +
); case 'SUBWAY': @@ -166,7 +174,9 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
-
Metro
+
+ Metro +
); case 'RAIL': @@ -174,7 +184,11 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
-
Juna / Rail
+
+ Juna / Tåg + {' / '} + Rail +
); case 'TRUNK': @@ -182,7 +196,11 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
-
Runkolinja / Trunk route
+
+ Runkolinja / Stomlinjen + {' / '} + Trunk route +
); case 'L_RAIL': @@ -190,7 +208,13 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
-
Pikaratikka / Snabbspårvagn / Light rail
+
+ Pikaratikka + {' / '} + Snabbspårvagn + {' / '} + Light rail +
); default: @@ -214,7 +238,11 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
- Metron sisäänkäynti / Metrons ingång / Metro entrance + Metron sisäänkäynti + {' / '} + Metrons ingång + {' / '} + Metro entrance
, ); @@ -230,7 +258,11 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => {
- Lipunmyyntipiste / Biljettförsäljning / Ticket sales + Lipunmyyntipiste + {' / '} + Biljettförsäljning + {' / '} + Ticket sales
, ); @@ -240,7 +272,13 @@ const getLegend = (stops, projectedSalesPoints, subwayEntrances) => { legendContent.push(
-
Lippuautomaatti / Ticket sales machine
+
+ Lippuautomaatti + {' / '} + Biljettautomat + {' / '} + Ticket sales machine +
, ); }