polyline 1.0.0

Haxe implementation of Google's polyline algorithm

Released 2016-05-24.

To install, run:

haxelib install polyline 1.0.0

See using Haxelib in Haxelib documentation for more information.

Maintainerkevinresol
Websitehttps://github.com/kevinresol/polyline
Current version1.0.0
StatisticsInstalled 61 times
LicenseMIT
Tags cross, google, polyline

README.md

polyline Build Status

Haxe implementation of Google's polyline algorithm

Ported from https://github.com/mapbox/polyline

Usage

var example = [{
	latitude: 38.5,
	longitude: -120.2
},{
	latitude: 40.7,
	longitude: -120.95
},{
	latitude: 43.252,
	longitude: -126.453
}];

var encoded = Polyline.encode(example);
var decoded = Polyline.decode(encoded);