Bus stop direction arrow

Hi,
I’ve seen in some apps when they display in the map the bus stop (red circle with the platform letter) they also show an arrow icon pointing the direction.
I wonder how can we get this info.
Is it the direction of a straight line connecting the current stop and the end stop or it’s some info we can get from the api?

@albert

It might not be possible to just use a straight line assumption for this kind of arrow: quite often the “reserve” bus stop will be accessed via a pedestrian crossing. For example, the Bus Stop X at Stratford City bus station has awkward-looking arrows pointing to it at the bus station’s main screen.

Albert,

http://content.tfl.gov.uk/syndication-developer-guidelines-bus-stop-locations-routes.pdf, pages 5 & 6:

“heading”
Number
“Direction the bus is travelling in when it arrives at the bus-stop. This is expressed from 0° to 359°.”

Have a look at https://tfl.gov.uk/info-for/open-data-users/our-open-data?intcmp=3671#on-this-page-3 under “Bus stop locations and routes” and the file bus-stops-examples.csv which contains ‘Location_Easting’, ‘Location_Northing’ and ‘Heading’.

Hope this helps,

Simon