defaultTransitSource = new LABusTransitSource(this, busDrawables, busTransitRoutes, routeTitles);
ImmutableMap.Builder mapBuilder = ImmutableMap.builder();
<<<<<<< HEAD
=======
MbtaRealtimeTransitSource subwayTransitSource = new MbtaRealtimeTransitSource(
subwayDrawables,
routeTitles.getMappingForSources(new int[] {Schema.Routes.enumagencyidSubway}), this);
for (String route : subwayTransitSource.getRouteTitles().routeTags()) {
mapBuilder.put(route, subwayTransitSource);
}
CommuterRailTransitSource commuterRailTransitSource = new CommuterRailTransitSource(commuterRailDrawables,
routeTitles.getMappingForSource(Schema.Routes.enumagencyidCommuterRail), this);
for (String route : commuterRailTransitSource.getRouteTitles().routeTags()) {
mapBuilder.put(route, commuterRailTransitSource);
}
HubwayTransitSource hubwayTransitSource = new HubwayTransitSource(hubwayDrawables, hubwayTransitRoutes,
this);
>>>>>>> e565692a9fd7871a0836dd8e1c18bbeaa8bba9b0
transitSourceMap = mapBuilder.build();
|