Comments (3)
If that's a subway line it should already be shown in the default subway colors. What you see in the TlemProvider.java
is just the custom colors. Feel free to submit a PR for those.
from public-transport-enabler.
Its a strange hybrid line. Its a subway line under london but overground extending out to the outer parts of east and west london. The line colour is purple. See map here
I'm using an app called Transportr, and the journeys show some train ID numbers(?) rather than "Elizabeth Line". Other subway routes show the line name.
In fact all, if not most journeys in the UK are indicated by the train operator and destination rather than ID numbers which is what this app seems to show for journeys outside of London...
I wouldn't know where to begin tweaking these...
from public-transport-enabler.
i've looked a bit into the JSON response and lizz reports herself as crossrail
data-operator="XR"
so i think that this might work:
//adding elizabeth line right here and i don't know how to test that. it just looks like it might make some sense.
//i've looked at a JSON response from traveline and it says following:
//product "Elizabeth line"
//productId "13"
//type "9"
//code "18"
//trainType "OO"
if ("1".equals(mot)) {
if (trainType == "OO" && ("Elizabeth line".equals(product)))
return new Line(id, network, Product.SUBURBAN_TRAIN, "Elizabeth Line");
//here goes nothing with Lizz
STYLES.put("SElizabeth Line", new Style(Style.parseColor("#6950a1"), Style.WHITE));
that's what i'd insert in the TlemProvider.java
file
but honestly: i have no clue, it's just a wild guess and i'm by no means a programmer.
from public-transport-enabler.
Related Issues (20)
- GTFS without Navitia HOT 4
- SNCF real-time data
- Crash on NS (Netherlands) HOT 1
- Location: equals(…) is not symmetric
- IT: java.lang.IllegalArgumentException: Unhandled error id: no_destination
- MVV Trip Delays are always 0 HOT 4
- Add support for STIB (Brussels) HOT 1
- BEG (BayernProvider) has no colors for S-Bahn lines in Munich
- Add support for Zenbus API
- Discussion: Polish GTFS providers? HOT 1
- Suburban trains in Madrid metro area missing
- MVV provider broken HOT 2
- Error checking for a bus connection
- VVO: UNKNOWN_FROM HOT 1
- SPAIN: java.lang.IllegalArgumentException: Unhandled error id: no_origin
- DB: UNRESOLVABLE_ADDRESS HOT 1
- VGN: platforms missing
- SE: UNRESOLVABLE_ADDRESS
- IT: java.lang.IllegalArgumentException: Unhandled error id: no_origin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from public-transport-enabler.