Swift implementation of Google's Polyline algorithm
let coordinates: [CLLocationCoordinate2D] = [...]
let polylineString: String = coordinates.googlePolyline
let polylineString: String = "..."
let coordinates: [CLLocationCoordinate2D] = CLLocationCoordinate2D.coordinates(fromPolyline: polylineString)