vta / modeify

A web-based UI for delivering personalized commute information to travelers
Other
4 stars 1 forks source link

Mark buses on the map on their layover #103

Open 3vivekb opened 7 years ago

3vivekb commented 7 years ago

If a bus is on its layover, we should change the bus icon on the map to represent that like a coffee cup!

This is how the vehicle details looks while on route:

{
id: "2328",
routeId: "22",
routeShortName: "22",
routeName: "22 - Palo Alto - Eastridge",
headsign: "Palo Alto",
direction: "1",
vehicleType: "3",
schAdh: 45684,
schAdhStr: "45.7 sec (early)",
block: "2242",
blockMthd: "AVL_FEED_BLOCK_ASSIGNMENT",
trip: "2111502",
tripPattern: "route_22_5810_to_519_3a0fa6a8",
nextStopId: "456",
nextStopName: "The Alameda & Morris",
serviceId: "Weekdays",
serviceName: "Weekdays",
loc: {
lat: 37.34417,
lon: -121.93099,
time: 1487720321,
heading: 290.1
},
}

This is how it looks on layover:


{
id: "2330",
routeId: "22",
routeShortName: "22",
routeName: "22 - Palo Alto - Eastridge",
headsign: "Eastridge",
direction: "0",
vehicleType: "3",
schAdh: 0,
schAdhStr: "0.0 sec (ontime)",
block: "2260",
blockMthd: "AVL_FEED_BLOCK_ASSIGNMENT",
trip: "2111352",
tripPattern: "route_22_328_to_5812_83c66067",
layover: true,
layoverDepTime: 1487720700,
layoverDepTimeStr: "15:45:00",
nextStopId: "328",
nextStopName: "Palo Alto Caltrain Station",
serviceId: "Weekdays",
serviceName: "Weekdays",
loc: {
lat: 37.44391,
lon: -122.16602,
time: 1487720295,
heading: 167.5
}
},
linuxwebexpert commented 7 years ago

@3vivekb - Can you please elaborate on this issue with some screen shots ? It'd be helpful to better understand UI / UX issues with screen shots & whiteboard photos