mirror of
https://github.com/mapbox/polyline.git
synced 2026-01-18 14:29:16 +00:00
217 B
217 B
polyline.decode(string)
Takes a string representation of 1+ coordinate pairs and returns an array of lat, lon arrays.
polyline.encode(array)
Takes an array of lat, lon arrays and returns an encoded string.