-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
- Device name: Google Pixel
- Android Version: 7.1.1
- App build number: 0.13.1
- What did you expected to happen? Public transit line should be clearly visible
- What happened instead? White transit line is hard to see over road network
- Steps to reproduce:
- Enable debug menu by searching for "!!!!!!!!"
- Enable mock location and set coordinates to 60.18459, 24.9485027
- Search for "HSL" and select first result
- Click arrow to enter route preview mode
- Click transit icon to display multimodal route preview
At first glance it appears the tram leg is not drawn.
However zooming in reveals the line is drawn but it is white.
The JSON response confirms the white color for the tram line.
"travel_type": "tram",
"travel_mode": "transit",
"arrive_instruction": "Arrive: 12:00 AM at Asemapäällikönkatu.",
"verbal_pre_transition_instruction": "Take the 9 toward Pasila.",
"verbal_post_transition_instruction": "Travel 7 stops.",
"instruction": "Take the 9 toward Pasila. (7 stops)",
"time": 681,
"type": 30,
"verbal_depart_instruction": "Depart at 12:00 AM from Kaarlenkatu.",
"length": 1.066,
"transit_info": {
"operator_name": "HSL",
"transit_stops": [{
"lon": 24.951485,
"type": "station",
"onestop_id": "s-ud9wru917e-kaarlenkatu",
"name": "Kaarlenkatu",
"lat": 60.186085,
"departure_date_time": "2016-12-20T19:1602:00"
}, {
// ...
}, {
"lon": 24.940496,
"lat": 60.198242,
"arrival_date_time": "2016-12-20T19:2402:00",
"type": "station",
"onestop_id": "s-ud9wrwc05t-asemapäällikönkatu",
"name": "Asemapäällikönkatu"
}],
"operator_onestop_id": "o-ud9-helsinginseudunliikenne",
"text_color": 0,
"color": 16777215,
"onestop_id": "r-ud9wr-9",
"operator_url": "http:\/\/www.hsl.fi\/",
"short_name": "9",
"long_name": "Länsiterminaali-Rautatieasema-Pasila",
"headsign": "Pasila"
},
The decimal value for "color" 16777215, translates to #FFFFFF hexidecimal color value.

