Recently, I'm playing with TFS's countdown apis. As I am a bus commuter, I use bus arrival check app everyday. There are free and paid apps on iPhone and my Nexus 4. Paid ones are prettier than free ones, but the user interface, I think, can be much more improved. 

So, I started writing an simple mobile site that checks bus arrival time. It's still primitive stage, but it works and it has features I wish other apps have. For example, when I stand at a bus stop, I want the check the arrivals of the stop, not anywhere else. I don't want to select a bus stop on the map, touch it, and wait to see the arrivals. I'd like the app to find the bus stop with my location and just show me the arrival times. This mobile site has the feature, "nearby bus stop".

It wasn't difficult to Implement it. You get the latitude and longitude from the browser's geolocation. You send it to countdown. Countdown returns various markers with their latitude and longitude. You check the values and find the closest one. Surprisingly, the location was accurate enough to locate the bus stop right in front of you.

Here is the website. http://www.londonbus.info/

It works best on mobile. I test it on Chrome on my Nexus 4. Hope it helps you too.  

 


Andrew Chaa

another day, another PR