This post has been migrated from www.experimentsincode.com, we apologise if some of the images or content is missing

I have migrated the Petrol Calculator I had written in my original blog to this one. Its quite interesting to see actually how much money it costs just to commute to work. The tool itself is quite simple, it makes use of Google Maps API v3.1 to get the distance between two locations and then I use the sliders in jQuery UI for the MPG and price per litre. I wrote this quite quickly so if you notice any problems please post a comment and let me know.