It provides a box for the user to paste lines like:
OL8 3QL to BR48lW to SW11DR to OL83QL
OL83QL to L171DW to OL83QL
and hitting the 'Go' button it will return the mileage between these points.
By the power of Greyskull!
(No, really: Google Maps API, and the MapIt API)
To help me fill in my expense claim forms. I was bored having to copy and paste loads of postcodes into google maps so I instead wasted twice as much time making an app to do it for me.
We round up to the nearest whole mile. Hope thats ok with you
- You will need a Google Maps API Key environmental variable (named 'GAPI_KEY')
- You will also need a MapIt API Key environment variable (named as 'MAPIT_KEY')
- You should set a port environmental variable ('PORT" = 33507)