Decoding Polylines from Google Maps Direction API with Clojure
My first crack at porting some imperative code to Clojure goodness.
I needed some code to turn the polyline points encoding you get back from Google Directions API. This stuff:
I found Jeffrey Sambells' Java code here that does the job. I am just getting my teeth into writing Clojure for my day job at GoCatch, so I need a Clojure version. This is my first attempt. It's midnight and I haven't had a chance to check the line ends up on a map correctly, but it looks pretty good to me:
Permalink - Tags: Development,Clojure