Haxe implementation of Google's polyline algorithm
Ported from https://github.com/mapbox/polyline
var example = [
new Coordinates(38.5, -120.2),
new Coordinates(40.7, -120.95),
new Coordinates(43.252, -126.453),
];
var encoded = Polyline.encode(example);
var decoded = Polyline.decode(encoded);